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.
pull/13306/head
Sudeep Mohanty 2024-03-13 10:55:18 +01:00
rodzic c539b7cde5
commit abd3a3999f
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -338,7 +338,9 @@ menu "FreeRTOS"
config FREERTOS_TASK_FUNCTION_WRAPPER
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
help
If enabled, all FreeRTOS task functions will be enclosed in a wrapper function. If a task function