mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 05:53:49 +01:00
Merge pull request #3511 from OlegHahm/set_pendsv_to_default_priority
cpu: cortexm_common: set pendSV to default priority
This commit is contained in:
commit
4c9729a548
@ -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