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 <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2023-03-22 10:19:40 +01:00 committed by jgl-meta
parent b3545b34cf
commit 26ebceed55

View file

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