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

Kconfig definition

At kernel/Kconfig:292

Included via Kconfig:8Kconfig.zephyr:36

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