mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Add warning in Cortex-M3 and Cortex-M4 FreeRTOSConfig.h header files that configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to 0.
This commit is contained in:
parent
7d937f04d7
commit
02acfd2723
41 changed files with 82 additions and 0 deletions
|
@ -149,6 +149,8 @@ to exclude the API function. */
|
|||
/* The lowest priority. */
|
||||
#define configKERNEL_INTERRUPT_PRIORITY ( 31 << (8 - configPRIO_BITS) )
|
||||
/* Priority 5, or 160 as only the top three bits are implemented. */
|
||||
/* !!!! 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 << (8 - configPRIO_BITS) )
|
||||
|
||||
/* Priorities passed to NVIC_SetPriority() do not require shifting as the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue