The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_NO_OPTIMIZATIONS

Optimize nothing

Type: bool

Help

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

Direct dependencies

<choice: Optimization level>

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

Kconfig definition

At Kconfig.zephyr:227

Included via Kconfig:10

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

config NO_OPTIMIZATIONS
    bool
    prompt "Optimize nothing" if <choice: Optimization level>
    depends on <choice: Optimization level>
    help
      Compiler optimizations will be set to -O0 independently of other
      options.

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