1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cortexm_common/include
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
..
c11_atomics_compat_cpu cpu: Platform specific C11 atomics compat headers 2019-10-24 23:08:36 +02:00
vendor cpu/cortexm_common: Update ARM CMSIS to V5.4.0 2019-01-15 17:35:40 +01:00
bit.h cortexm_common: Introduce bitbanding macros 2017-06-09 05:19:13 +02:00
c11_atomics_compat_cpu.hpp cpu: Platform specific C11 atomics compat headers 2019-10-24 23:08:36 +02:00
cpu_conf_common.h cpu/cortexm_common: add irq sub-priorities 2020-04-03 17:49:31 +02:00
cpu.h cpu/cortexm: don't disable IRQs in cpu_jump_to_image() 2019-09-26 23:38:43 +02:00
mpu.h *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
vectors_cortexm.h cpu/cortexm: Remove leftover _estack declarations 2017-11-10 15:38:14 +01:00