1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cortexm_common
Pekka Nikander 4534e9b773
cpu/cortexm_common: add irq sub-priorities
This commit enables Cortex-M CPU interrupt sub-priorities
and allows the PendSV interrupt to have a priority different
from the default one.  Together these two preprocessor
defines can be used to have PendSV always run as the last interrupt
before returning from the interrupt stack back to the user space.

Running PendSV as the last interrupt before returning to the
user space is recommended by ARM, as it increases efficiency.
Furthermore, that change enhances stability a lot with the
new nRF52 SoftDevice support, currently being worked in
PR #9473.

This commit merely enables sub-priorities and a separate
PendSV priority to be used without changing the default
RIOT behaviour.
2020-04-03 17:49:31 +02:00
..
include cpu/cortexm_common: add irq sub-priorities 2020-04-03 17:49:31 +02:00
ldscripts cpu/sam0_common: hook up low power RAM as extra heap 2020-02-20 17:11:25 +01:00
periph cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
cortexm_init.c cpu/cortexm_common: add irq sub-priorities 2020-04-03 17:49:31 +02:00
irq_arch.c cpu: adapt to COREIF_NG removal 2017-11-16 14:40:16 +01:00
Makefile cpu: cortexm: fix LTO issue for shared vector table (see #5774) 2017-10-20 22:19:44 +02:00
Makefile.dep cpu/cortexm: Add 'cortexm_fpu' as a DEFAULT_MODULE if possible 2020-04-01 09:46:29 +02:00
Makefile.features cpu/cortexm: Add 'cortexm_fpu' as a DEFAULT_MODULE if possible 2020-04-01 09:46:29 +02:00
Makefile.include cpu/cortexm_common: Make Low-Power SRAM available to programs 2019-10-01 18:39:40 +02:00
mpu.c mpu: remove harmful assertion 2020-01-11 13:37:20 +01:00
panic.c cpu*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
thread_arch.c cpu/cortexm: add cortex-m23 support 2019-01-21 17:04:20 +01:00
vectors_cortexm.c Make sure the mpu_noexec_ram regions has the lowest priority 2020-03-10 11:16:22 +01:00