3rd time is a charm. Max is right, the initial priority setting should be NVIC_SYSH_PRIORITY_MIN

This commit is contained in:
Gregory Nutt 2014-07-24 16:51:07 -06:00
parent 83e6966e13
commit 47752a35c1

View File

@ -157,7 +157,7 @@ void up_initial_state(struct tcb_s *tcb)
#else /* CONFIG_SUPPRESS_INTERRUPTS */
#ifdef CONFIG_ARMV7M_USEBASEPRI
xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_DEFAULT;
xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_MIN;
#endif
#endif /* CONFIG_SUPPRESS_INTERRUPTS */