Add configUSE_CORE_AFFINITY bits check (#776)
* Add core affinity bits check * Add taskBITS_PER_BYTES
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user