mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4534e9b773
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. |
||
---|---|---|
.. | ||
c11_atomics_compat_cpu | ||
vendor | ||
bit.h | ||
c11_atomics_compat_cpu.hpp | ||
cpu_conf_common.h | ||
cpu.h | ||
mpu.h | ||
vectors_cortexm.h |