mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add configUSE_CORE_AFFINITY bits check (#776)
* Add core affinity bits check * Add taskBITS_PER_BYTES
This commit is contained in:
parent
c93d3865f7
commit
f7565c2d5e
2 changed files with 15 additions and 1 deletions
|
@ -1165,6 +1165,10 @@
|
|||
#error configUSE_TASK_PREEMPTION_DISABLE is not supported in single core FreeRTOS
|
||||
#endif
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES == 1 ) && ( configUSE_CORE_AFFINITY != 0 ) )
|
||||
#error configUSE_CORE_AFFINITY is not supported in single core FreeRTOS
|
||||
#endif
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_PORT_OPTIMISED_TASK_SELECTION != 0 ) )
|
||||
#error configUSE_PORT_OPTIMISED_TASK_SELECTION is not supported in SMP FreeRTOS
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue