Merge branch 'contrib/github_pr_8107' into 'master'

Fix GDB backtraces in optimized builds (GitHub PR)

Closes IDFGH-6444

See merge request espressif/esp-idf!16436
pull/8142/head^2
Ivan Grokhotkov 2021-12-24 11:47:34 +00:00
commit 2dd6b66375
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -421,7 +421,7 @@ menu "FreeRTOS"
config FREERTOS_TASK_FUNCTION_WRAPPER
bool "Enclose all task functions in a wrapper function"
depends on COMPILER_OPTIMIZATION_DEFAULT
depends on COMPILER_OPTIMIZATION_DEFAULT || ESP_COREDUMP_ENABLE || ESP_GDBSTUB_ENABLED
default y
help
If enabled, all FreeRTOS task functions will be enclosed in a wrapper function.