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_FLASH_SHELL

Enable Flash shell

Type: bool

Help

Enable the flash shell with flash related commands such as test,
write, read and erase.

Direct dependencies

SHELL && FLASH_PAGE_LAYOUT && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/flash/Kconfig:46

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:60

Menu path: (Top) → Device Drivers → Flash hardware support

config FLASH_SHELL
    bool "Enable Flash shell"
    default y
    depends on SHELL && FLASH_PAGE_LAYOUT && FLASH
    help
      Enable the flash shell with flash related commands such as test,
      write, read and erase.

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