mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 09:33:50 +01:00
cpu: cortexm_common: set pendSV to default priority
This commit is contained in:
parent
03b7c7349a
commit
d359c86c60
@ -41,8 +41,8 @@ void cortexm_init(void)
|
||||
#endif
|
||||
|
||||
/* initialize the interrupt priorities */
|
||||
/* set pendSV interrupt to lowest possible priority */
|
||||
NVIC_SetPriority(PendSV_IRQn, 0xff);
|
||||
/* set pendSV interrupt to same priority as the rest */
|
||||
NVIC_SetPriority(PendSV_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
/* set SVC interrupt to same priority as the rest */
|
||||
NVIC_SetPriority(SVCall_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
/* initialize all vendor specific interrupts with the same value */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user