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

Shell thread stack size

Type: int

Help

Stack size for thread created for each instance.

Direct dependencies

SHELL

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/shell/Kconfig:25

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:26

Menu path: (top menu) → Shell Options → Enable shell

config SHELL_STACK_SIZE
    int
    prompt "Shell thread stack size" if SHELL
    default 2048 if MULTITHREADING && SHELL
    default 0 if !MULTITHREADING && SHELL
    depends on SHELL
    help
      Stack size for thread created for each instance.

(Definitions include propagated dependencies, including from if’s and menus.)