Ver código fonte

Allow enabling task function wrappers in more cases

Dániel Buga 4 anos atrás
pai
commit
a02d1e35ee
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      components/freertos/Kconfig

+ 1 - 1
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.