Skip to content

Commit

Permalink
fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCT…
Browse files Browse the repository at this point in the history
…ION_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.
  • Loading branch information
sudeep-mohanty committed Mar 14, 2024
1 parent c539b7c commit abd3a39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/freertos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abd3a39

Please sign in to comment.