-
choice: Optimization level
Optimization level
Type: bool
Help¶
Note that these flags shall only control the compiler optimization level, and that no extra debug code shall be conditionally compiled based on them.
Defaults¶
Kconfig definition¶
At <Zephyr>/Kconfig.zephyr:184
Included via <Zephyr>/Kconfig:8
Menu path: (Top) → Build and Link Features → Compiler Options
choice bool "Optimization level" defaultNO_OPTIMIZATIONS
ifCOVERAGE
defaultDEBUG_OPTIMIZATIONS
ifDEBUG
defaultSIZE_OPTIMIZATIONS
help Note that these flags shall only control the compiler optimization level, and that no extra debug code shall be conditionally compiled based on them.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)