From 26ebceed55b94b6e9bc98e2bf4c892a05404bf16 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Wed, 22 Mar 2023 10:19:40 +0100 Subject: [PATCH] kconfig: add note about increasing default stack sizes for -O0 Add a note about increasing default stack sizes to the CONFIG_NO_OPTIMIZATIONS help text. Signed-off-by: Henrik Brix Andersen --- Kconfig.zephyr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kconfig.zephyr b/Kconfig.zephyr index 5164fdf2d1f..43f0f432177 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -360,6 +360,9 @@ config NO_OPTIMIZATIONS help Compiler optimizations will be set to -O0 independently of other options. + + Selecting this option will likely require manual tuning of the + default stack sizes in order to avoid stack overflows. endchoice config COMPILER_WARNINGS_AS_ERRORS