diff options
author | Sergio Soares <eng.sergiosoares@gmail.com> | 2023-04-10 06:02:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 15:32:35 +0530 |
commit | d57e2b746b6ae086719d8e68f12f3665c08a0452 (patch) | |
tree | 003c44114a892f3e6701d2d705498b3a6ff31b67 | |
parent | 084b7efe996f16fd94c8dae04ef06fec095ed34a (diff) | |
download | freertos-git-d57e2b746b6ae086719d8e68f12f3665c08a0452.tar.gz |
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 ); `)
-rw-r--r-- | FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h index 3359b7bf2..ed408b2e8 100644 --- a/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/FreeRTOSConfig.h @@ -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. */ |