freertos/Kconfig: make optimized task selection dependent on FREERTOS_UNICORE option

freertos: fix decrement loop of high priority task selection
This commit is contained in:
Felipe Neves
2019-11-11 09:54:15 +08:00
parent 2c612ec1dc
commit 5d7564a039
3 changed files with 4 additions and 3 deletions

View File

@@ -476,7 +476,7 @@ void vApplicationSleep( TickType_t xExpectedIdleTime );
/* Check the configuration. */
#if( configMAX_PRIORITIES > 32 )
#error configUSE_PORT_OPTIMISED_TASK_SELECTION can only be set to 1 when configMAX_PRIORITIES is less than or equal to 32. It is very rare that a system requires more than 10 to 15 difference priorities as tasks that share a priority will time slice.
#error configUSE_PORT_OPTIMISED_TASK_SELECTION can only be set to 1 when configMAX_PRIORITIES is less than or equal to 32. It is very rare that a system requires more than 10 to 15 different priorities as tasks that share a priority will time slice.
#endif
/* Store/clear the ready priorities in a bit map. */