From c5a065e3b8a13401d98f89b8ea7c42e7dbc7618b Mon Sep 17 00:00:00 2001 From: Krzysztof Chruscinski Date: Wed, 9 Feb 2022 12:29:10 +0100 Subject: [PATCH] debug: thread_analyzer: Use bigger stack in certain configurations When immediate logging is used and optimization is off then bigger stack is needed for thread analyzer. Adjusting the value. Signed-off-by: Krzysztof Chruscinski --- subsys/debug/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index 6447566cc75..512bab732de 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -80,6 +80,7 @@ config THREAD_ANALYZER_AUTO_INTERVAL config THREAD_ANALYZER_AUTO_STACK_SIZE int "Stack size for the periodic thread analysis thread" + default 2048 if THREAD_ANALYZER_USE_LOG && LOG_MODE_IMMEDIATE && NO_OPTIMIZATIONS default 1024 endif # THREAD_ANALYZER_AUTO