mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-07-27 16:23:46 +00: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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user