fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option

This commit updates the dependency for
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER to be dependent explicitly on
CONFIG_ESP_SYSTEM_PANIC_GDBSTUB or CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
instead of CONFIG_ESP_GDBSTUB_ENABLED which caused FreeRTOS Task
Function Wrappers to be enabled even if the esp_gdbstub component was
part of the build.
This commit is contained in:
Sudeep Mohanty
2024-03-13 10:55:18 +01:00
parent 08299f5f9b
commit bc310e088b

View File

@@ -300,7 +300,9 @@ menu "FreeRTOS"
config FREERTOS_TASK_FUNCTION_WRAPPER config FREERTOS_TASK_FUNCTION_WRAPPER
bool "Wrap task functions" bool "Wrap task functions"
depends on COMPILER_OPTIMIZATION_DEBUG || ESP_COREDUMP_ENABLE || ESP_GDBSTUB_ENABLED #TODO: Check if FreeRTOS Task Wrapper must depend on GDBStub (IDF-9505)
depends on COMPILER_OPTIMIZATION_DEBUG || ESP_COREDUMP_ENABLE \
|| ESP_SYSTEM_PANIC_GDBSTUB || ESP_SYSTEM_GDBSTUB_RUNTIME
default y default y
help help
If enabled, all FreeRTOS task functions will be enclosed in a wrapper function. If a task function If enabled, all FreeRTOS task functions will be enclosed in a wrapper function. If a task function