Skip to content

Commit 5622925

Browse files
soares-sergiomoninom1
authored andcommitted
Set configMAX_SYSCALL_INTERRUPT_PRIORITY to 4 (FreeRTOS#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 ); `)
1 parent 21e0453 commit 5622925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ FreeRTOS/Source/tasks.c for limitations. */
102102
#define configKERNEL_INTERRUPT_PRIORITY ( 255 ) /* All eight bits as QEMU doesn't model the priority bits. */
103103
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
104104
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
105-
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 )
105+
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 4 )
106106

107107
/* Use the Cortex-M3 optimised task selection rather than the generic C code
108108
version. */

0 commit comments

Comments
 (0)