]> git.sur5r.net Git - freertos/blobdiff - Source/portable/RVDS/ARM_CM3/port.c
Add an cpsie i before the SVC call that starts the scheduler. This is just in case...
[freertos] / Source / portable / RVDS / ARM_CM3 / port.c
index 0288b76a6469f905edbbaf61924f672bab2e884f..c864f821a6b7dd6fb3015594e8162adacc3fa5a1 100644 (file)
@@ -149,7 +149,9 @@ __asm void vPortStartFirstTask( void )
        /* Set the msp back to the start of the stack. */\r
        msr msp, r0\r
        /* Call SVC to start the first task. */\r
+       cpsie i\r
        svc 0\r
+       nop\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r