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

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