This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 imply this symbol

Kconfig definition

At kernel/Kconfig:308

Included via Kconfig:8Kconfig.zephyr:40

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