CONFIG_SIZE_OPTIMIZATIONS
Optimize for size
Type: bool
Help
Compiler optimizations will be set to -Os independently of other
options.
Direct dependencies
<choice COMPILER_OPTIMIZATIONS: Optimization level>
(Includes any dependencies from ifs and menus.)
Kconfig definition
At <Zephyr>/Kconfig.zephyr:283
Included via <Zephyr>/Kconfig:8
Menu path: (Top) → Build and Link Features → Compiler Options → Optimization level
config SIZE_OPTIMIZATIONS
bool "Optimize for size"
depends on <choice COMPILER_OPTIMIZATIONS>
help
Compiler optimizations will be set to -Os independently of other
options.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)