CONFIG_INIT_STACKS

Initialize stack areas

Type: bool

Help

This option instructs the kernel to initialize stack areas with a known value (0xaa) before they are first used, so that the high water mark can be easily determined. This applies to the stack areas for threads, as well as to the interrupt stack.

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Symbols that imply this symbol

Kconfig definition

At <Zephyr>/kernel/Kconfig:303

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:30

Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics

config INIT_STACKS
    bool "Initialize stack areas"
    help
      This option instructs the kernel to initialize stack areas with a
      known value (0xaa) before they are first used, so that the high
      water mark can be easily determined. This applies to the stack areas
      for threads, as well as to the interrupt stack.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)