mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 18:27:47 -04:00
Set configMAX_SYSCALL_INTERRUPT_PRIORITY to 4 (#984)
Set configMAX_SYSCALL_INTERRUPT_PRIORITY to 4 instead of 5 to avoid hitting the assert in `Source/portable/GCC/ARM_CM3/port.c` (`configASSERT( ( configMAX_SYSCALL_INTERRUPT_PRIORITY & 0x1U ) == 0U ); `)
This commit is contained in:
parent
084b7efe99
commit
d57e2b746b
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ FreeRTOS/Source/tasks.c for limitations. */
|
|||
#define configKERNEL_INTERRUPT_PRIORITY ( 255 ) /* All eight bits as QEMU doesn't model the priority bits. */
|
||||
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
|
||||
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
||||
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 )
|
||||
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 4 )
|
||||
|
||||
/* Use the Cortex-M3 optimised task selection rather than the generic C code
|
||||
version. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue