Update taskSELECT_HIGHEST_PRIORITY_TASK macro for SMP (#777)
* Move the configUSE_PORT_OPTIMISED_TASK_SELECTION check to FreeRTOS.h * SMP also use taskSELECT_HIGHEST_PRIORITY_TASK macro --------- Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
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_PORT_OPTIMISED_TASK_SELECTION != 0 ) )
|
||||
#error configUSE_PORT_OPTIMISED_TASK_SELECTION is not supported in SMP FreeRTOS
|
||||
#endif
|
||||
|
||||
#ifndef configINITIAL_TICK_COUNT
|
||||
#define configINITIAL_TICK_COUNT 0
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user