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 Kconfig.zephyr:223

Included via Kconfig:10

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.)