1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu
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
..
arm7_common Merge pull request #13317 from benpicco/arm7-event_thread 2020-02-26 08:39:00 +01:00
atmega32u4 cpu/atmega32u4: make THREAD_STACKSIZE_IDLE configurable 2020-03-12 13:35:43 +01:00
atmega128rfa1 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega256rfr2 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega328p
atmega1281
atmega1284p
atmega2560
atmega_common cpu: atmega_common: make THREAD_STACKSIZE_IDLE configurable 2020-03-12 13:01:13 +01:00
cc26x0 cc26xx_cc13xx: add API to manage peripheral clocks 2020-03-23 09:33:53 -05:00
cc26x2_cc13x2 cc26xx_cc13xx: add API to manage peripheral clocks 2020-03-23 09:33:53 -05:00
cc26xx_cc13xx cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
cc430 cpu/cc430: rtc: remove dead code 2020-02-04 13:20:56 +01:00
cc2538 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
cortexm_common cpu/cortexm_common: add irq sub-priorities 2020-04-03 17:49:31 +02:00
efm32 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
esp32 cpu/esp: deprecated NETOPT_LINK_CONNECTED renamed 2020-03-31 18:11:47 +02:00
esp8266 cpu/esp: NETOPT_CHANNEL for esp_wifi and esp_now 2020-03-26 14:46:15 +01:00
esp_common cpu/esp: deprecated NETOPT_LINK_CONNECTED renamed 2020-03-31 18:11:47 +02:00
ezr32wg cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
fe310 fe310: fix power management configuration 2020-01-30 10:43:01 +01:00
kinetis cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
lm4f120 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
lpc1768 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
lpc2387 cpu/lpc2387: define BACKUP_RAM attribute 2020-03-19 13:38:50 +01:00
mips32r2_common cpu: mips32r2_common: Implement mips32r2_isr_end 2020-03-25 19:10:01 +00:00
mips_pic32_common cpu: mips_pic32_common: Use mips32r2_isr_end in timer interrupt handler 2020-03-25 19:10:01 +00:00
mips_pic32mx cpu: mips: Refactor EIC 2020-03-25 19:10:01 +00:00
mips_pic32mz cpu: mips: Refactor EIC 2020-03-25 19:10:01 +00:00
msp430_common cpu: remove exports of UNDEF vars 2020-02-25 09:40:34 +01:00
msp430fxyz cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
native drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
nrf5x_common gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
nrf51 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
nrf52 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
sam0_common cpu/sam0_common: distribute PM_NUM_MODES among siblings 2020-04-01 18:10:23 +02:00
sam3 cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
sam_common cpu/sam_common: remove use of export for LINKFLAGS 2020-01-02 09:50:14 +01:00
samd5x cpu/samd5x: don't run DFLL on-demand 2020-04-02 20:11:41 +02:00
samd21 cpu/sam0_common: distribute PM_NUM_MODES among siblings 2020-04-01 18:10:23 +02:00
saml1x cpu/saml1x, saml2x: PM_NUM_MODES is a valid mode 2020-04-01 18:10:23 +02:00
saml21 cpu/saml1x, saml2x: PM_NUM_MODES is a valid mode 2020-04-01 18:10:23 +02:00
stellaris_common
stm32_common cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
stm32f0 cpu/stm: Fix broken character encoding 2020-03-24 16:07:19 +01:00
stm32f1 cpu/{stm32r1,stm32_common}: Allow exposing JTAG pins as GPIOs 2020-03-08 13:05:35 +01:00
stm32f2 cpu/stm: Fix broken character encoding 2020-03-24 16:07:19 +01:00
stm32f3 cpu/stm: Fix broken character encoding 2020-03-24 16:07:19 +01:00
stm32f4 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32f7 cpu/stm: Fix broken character encoding 2020-03-24 16:07:19 +01:00
stm32l0 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32l1 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32l4 cpu/stm32_common: add common L4 and WB stmclk 2020-03-25 09:29:57 +01:00
stm32wb cpu/stm32_common: add common L4 and WB stmclk 2020-03-25 09:29:57 +01:00
doc.txt