From a02d1e35ee0eccd6eaee5f5aa2832415bbd4415e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Fri, 17 Dec 2021 09:37:43 +0100 Subject: [PATCH] Allow enabling task function wrappers in more cases --- components/freertos/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 0c66f9af8f..f3fd73cbbb 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -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.