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 <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-02-09 12:29:10 +01:00 committed by Carles Cufí
parent 402c9b8895
commit c5a065e3b8

View File

@ -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