Skip to content

Commit 03db1e8

Browse files
Set configMAX_SYSCALL_INTERRUPT_PRIORITY to 4 for QEMU demos (FreeRTOS#986)
* Update FreeRTOSConfig.h * Update FreeRTOSConfig.h * Update FreeRTOSConfig.h
1 parent afb776c commit 03db1e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FreeRTOS/Demo/CORTEX_LM3S6965_GCC_QEMU/FreeRTOSConfig.h

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

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

FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ unsigned long ulGetRunTimeCounterValue( void ); /* Prototype of function that re
121121

122122
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
123123
* See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
124-
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to 0xa0, or priority 5. */
124+
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4
125125
#define configMAC_INTERRUPT_PRIORITY 5
126126

127127
/* Prototype for the function used to print out. In this case it prints to the

FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ unsigned long ulGetRunTimeCounterValue( void ); /* Prototype of function that re
106106

107107
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
108108
* See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
109-
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to 0xa0, or priority 5. */
109+
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4
110110
#define configMAC_INTERRUPT_PRIORITY 5
111111

112112
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY ( 1 )

0 commit comments

Comments
 (0)