mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-10 08:02:57 -04:00
Merge aca328e173 into 8be86d4a24
This commit is contained in:
commit
58225db4b9
4 changed files with 222 additions and 14 deletions
|
|
@ -516,6 +516,14 @@
|
|||
#define configUSE_CORE_AFFINITY 0
|
||||
#endif /* configUSE_CORE_AFFINITY */
|
||||
|
||||
#ifndef configUSE_SCHEDULER_CORE_MASK
|
||||
#if ( configNUMBER_OF_CORES > 1 )
|
||||
#define configUSE_SCHEDULER_CORE_MASK 1
|
||||
#else
|
||||
#define configUSE_SCHEDULER_CORE_MASK 0
|
||||
#endif
|
||||
#endif /* configUSE_SCHEDULER_CORE_MASK */
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
|
||||
#ifndef configTASK_DEFAULT_CORE_AFFINITY
|
||||
#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY
|
||||
|
|
@ -1858,6 +1866,22 @@
|
|||
#define traceRETURN_vTaskCoreAffinityGet( uxCoreAffinityMask )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_vTaskSetSchedulerCoreMask
|
||||
#define traceENTER_vTaskSetSchedulerCoreMask( uxCoreMask )
|
||||
#endif
|
||||
|
||||
#ifndef traceRETURN_vTaskSetSchedulerCoreMask
|
||||
#define traceRETURN_vTaskSetSchedulerCoreMask()
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_uxTaskGetSchedulerCoreMask
|
||||
#define traceENTER_uxTaskGetSchedulerCoreMask()
|
||||
#endif
|
||||
|
||||
#ifndef traceRETURN_uxTaskGetSchedulerCoreMask
|
||||
#define traceRETURN_uxTaskGetSchedulerCoreMask( uxCoreMask )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_vTaskPreemptionDisable
|
||||
#define traceENTER_vTaskPreemptionDisable( xTask )
|
||||
#endif
|
||||
|
|
@ -2914,6 +2938,10 @@
|
|||
#error configUSE_CORE_AFFINITY is not supported in single core FreeRTOS
|
||||
#endif
|
||||
|
||||
#if ( ( configNUMBER_OF_CORES == 1 ) && ( configUSE_SCHEDULER_CORE_MASK != 0 ) )
|
||||
#error configUSE_SCHEDULER_CORE_MASK 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