Add an cpsie i before the SVC call that starts the scheduler. This is just in case the C start up code leaves interrupts globally disabled.

This commit is contained in:
Richard Barry 2010-12-23 10:39:02 +00:00
parent 6046eea342
commit a67c624894
3 changed files with 8 additions and 10 deletions

View file

@ -149,7 +149,9 @@ __asm void vPortStartFirstTask( void )
/* Set the msp back to the start of the stack. */
msr msp, r0
/* Call SVC to start the first task. */
cpsie i
svc 0
nop
}
/*-----------------------------------------------------------*/