From d451a7539d02f0d867d85bcc666fb9b82a0ca585 Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Mon, 28 Nov 2022 12:09:56 +0530 Subject: [PATCH] freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS Since core affinity is supported in task stats by default in Amazon FreeRTOS SMP, the Kconfig option CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID is now made only available for IDF-FreeRTOS. --- components/freertos/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 9446d04fa4..ecfed18088 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -217,9 +217,9 @@ menu "FreeRTOS" configUSE_STATS_FORMATTING_FUNCTIONS documentation for more details). config FREERTOS_VTASKLIST_INCLUDE_COREID - # Todo: Remove this once core affinity in stats is supported in SMP FreeRTOS (IDF-4986) + # Core affinity is supported in stats for Amazon FreeRTOS SMP by default bool "Enable display of xCoreID in vTaskList" - depends on FREERTOS_USE_STATS_FORMATTING_FUNCTIONS + depends on !FREERTOS_SMP && FREERTOS_USE_STATS_FORMATTING_FUNCTIONS default n help If enabled, this will include an extra column when vTaskList is called to display the CoreID the task