mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-24 16:27:11 +00:00
Add default core affinity config value. (#996)
* Add default core affinity config value. --------- Co-authored-by: Anubhav Rawal <rawalexe@amazon.com>
This commit is contained in:
@@ -484,6 +484,12 @@
|
||||
#define configUSE_CORE_AFFINITY 0
|
||||
#endif /* configUSE_CORE_AFFINITY */
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
|
||||
#ifndef configTASK_DEFAULT_CORE_AFFINITY
|
||||
#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_PASSIVE_IDLE_HOOK
|
||||
#define configUSE_PASSIVE_IDLE_HOOK 0
|
||||
#endif /* configUSE_PASSIVE_IDLE_HOOK */
|
||||
|
||||
Reference in New Issue
Block a user