mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-31 15:38:40 -04:00
Add code to assert() if non ISR safe API function is called from ISR in IAR and GCC CM3 and CM4F ports - Keil and tasking to follow.
This commit is contained in:
parent
4723209074
commit
113220628f
7 changed files with 62 additions and 5 deletions
|
@ -145,8 +145,9 @@ vPortStartFirstTask
|
|||
ldr r0, [r0]
|
||||
/* Set the msp back to the start of the stack. */
|
||||
msr msp, r0
|
||||
/* Call SVC to start the first task. */
|
||||
/* Call SVC to start the first task, ensuring interrupts are enabled. */
|
||||
cpsie i
|
||||
cpsie f
|
||||
dsb
|
||||
isb
|
||||
svc 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue