[
https://issues.apache.org/jira/browse/MYNEWT-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William San Filippo updated MYNEWT-464:
---------------------------------------
Description:
We want to add configurable interrupt priorities so that it is easy to
determine the priority of all the available interrupts.
What we decided to do was to add a hook in the core_cm header files in
NVIC_SetPriority which calls a function located in the bsp
(hal_bsp_get_nvic_priority). This provides a single location for developers to
add/change the priority of interrupt vectors. Currently, this is basically a
stub but for BPS which use bluetooth for nordic platforms, the radio interrupt
is added and is configured to be the highest priority interrupt.
was:We want to add configurable interrupt priorities so that it is easy to
determine the priority of all the available interrupts. The default
configuration (syscfg.yml) file will live in the various hw/mcu directories.
This can be overridden in the normal ways (bsp, target, app, etc).
> Add interrupt priority configuration
> ------------------------------------
>
> Key: MYNEWT-464
> URL: https://issues.apache.org/jira/browse/MYNEWT-464
> Project: Mynewt
> Issue Type: Bug
> Components: HAL, OS
> Affects Versions: v0_9_0
> Reporter: William San Filippo
> Assignee: William San Filippo
> Fix For: v1_0_0_beta1
>
>
> We want to add configurable interrupt priorities so that it is easy to
> determine the priority of all the available interrupts.
> What we decided to do was to add a hook in the core_cm header files in
> NVIC_SetPriority which calls a function located in the bsp
> (hal_bsp_get_nvic_priority). This provides a single location for developers
> to add/change the priority of interrupt vectors. Currently, this is basically
> a stub but for BPS which use bluetooth for nordic platforms, the radio
> interrupt is added and is configured to be the highest priority interrupt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)