CONFIG_DEBUG_OPTIMIZATIONS

Optimize debugging experience

Type: bool

Help

Compiler optimizations will be set to -Og independently of other options.

Direct dependencies

<choice: Optimization level>

(Includes any dependencies from if’s and menus.)

Kconfig definition

At misc/Kconfig:154

Included via Kconfig:10Kconfig.zephyr:31

Menu path: (top menu) → Build and Link Features → Compiler Options → Optimization level

config DEBUG_OPTIMIZATIONS
    bool
    prompt "Optimize debugging experience" if <choice: Optimization level>
    depends on <choice: Optimization level>
    help
      Compiler optimizations will be set to -Og independently of other
      options.

(Definitions include propagated dependencies, including from if’s and menus.)