3rd time is a charm. Max is right, the initial priority setting should be NVIC_SYSH_PRIORITY_MIN
This commit is contained in:
parent
83e6966e13
commit
47752a35c1
@ -157,7 +157,7 @@ void up_initial_state(struct tcb_s *tcb)
|
|||||||
#else /* CONFIG_SUPPRESS_INTERRUPTS */
|
#else /* CONFIG_SUPPRESS_INTERRUPTS */
|
||||||
|
|
||||||
#ifdef CONFIG_ARMV7M_USEBASEPRI
|
#ifdef CONFIG_ARMV7M_USEBASEPRI
|
||||||
xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_DEFAULT;
|
xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_MIN;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CONFIG_SUPPRESS_INTERRUPTS */
|
#endif /* CONFIG_SUPPRESS_INTERRUPTS */
|
||||||
|
Loading…
Reference in New Issue
Block a user