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_STACK_GROWS_UP

Stack grows towards higher memory addresses

Type: bool

Help

Select this option if the architecture has upward growing thread
stacks. This is not common.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/Kconfig:318

Included via Kconfig:8Kconfig.zephyr:39

Menu path: (Top) → General Architecture Options

config STACK_GROWS_UP
    bool "Stack grows towards higher memory addresses"
    help
      Select this option if the architecture has upward growing thread
      stacks. This is not common.

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