]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/ARM_CM0/portasm.s
FreeRTOS Source files:
[freertos] / FreeRTOS / Source / portable / IAR / ARM_CM0 / portasm.s
index aa4ee7668de565e0648b5b03523934ca443a35e0..3cabe419104c98f5fb172922a7dd2bb326e80018 100644 (file)
@@ -149,6 +149,7 @@ vPortStartFirstTask
        msr psp, r0                             /* This is now the new top of stack to use in the task. */\r
        movs r0, #2                             /* Switch to the psp stack. */\r
        msr CONTROL, r0\r
+       isb\r
        pop {r0-r5}                             /* Pop the registers that are saved automatically. */\r
        mov lr, r5                              /* lr is now in r5. */\r
        cpsie i                                 /* The first task has its context and interrupts can be enabled. */\r