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

CONFIG_STACK_USAGE

Generate stack usage information

Type: bool

Help

Generate an extra file that specifies the maximum amount of stack used,
on a per-function basis.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:133

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:17

Menu path: (Top) → Sub Systems and OS Services → Debugging Options

config STACK_USAGE
    bool "Generate stack usage information"
    help
      Generate an extra file that specifies the maximum amount of stack used,
      on a per-function basis.

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