mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 01:53:51 +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
|
#endif
|
||||||
|
|
||||||
/* initialize the interrupt priorities */
|
/* initialize the interrupt priorities */
|
||||||
/* set pendSV interrupt to lowest possible priority */
|
/* set pendSV interrupt to same priority as the rest */
|
||||||
NVIC_SetPriority(PendSV_IRQn, 0xff);
|
NVIC_SetPriority(PendSV_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||||
/* set SVC interrupt to same priority as the rest */
|
/* set SVC interrupt to same priority as the rest */
|
||||||
NVIC_SetPriority(SVCall_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
NVIC_SetPriority(SVCall_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||||
/* initialize all vendor specific interrupts with the same value */
|
/* initialize all vendor specific interrupts with the same value */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user