FreeRTOS Source files:

+ Updated all ARM Cortex-M0 ports to include an additional ISB instruction as the scheduler is started.

Demo app files:
+ Fixex build issues in XMC1000 demos.
This commit is contained in:
Richard Barry 2015-11-22 22:03:00 +00:00
parent fa86d4eece
commit 94dd3f871b
11 changed files with 742 additions and 176 deletions

View file

@ -181,6 +181,7 @@ __asm void prvPortStartFirstTask( void )
msr psp, r0 /* This is now the new top of stack to use in the task. */
movs r0, #2 /* Switch to the psp stack. */
msr CONTROL, r0
isb
pop {r0-r5} /* Pop the registers that are saved automatically. */
mov lr, r5 /* lr is now in r5. */
cpsie i /* The first task has its context and interrupts can be enabled. */