Skip to content

Commit

Permalink
Set configMAX_SYSCALL_INTERRUPT_PRIORITY to 4 (FreeRTOS#984)
Browse files Browse the repository at this point in the history
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 ); `)
  • Loading branch information
soares-sergio authored and moninom1 committed Apr 27, 2023
1 parent 21e0453 commit 5622925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 5622925

Please sign in to comment.