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.
choice: Flash size

Flash size

Type: bool

Help

This sets the SPI flash size.

Direct dependencies

NPCX_HEADER && SOC_FAMILY_NPCX

(Includes any dependencies from ifs and menus.)

Kconfig definition

At soc/arm/nuvoton_npcx/Kconfig:137

Included via Kconfig:8Kconfig.zephyr:36soc/Kconfig:18

Menu path: (Top) → Hardware Configuration → Enable the output binary with NPCX binary header

choice
    bool "Flash size"
    default NPCX_HEADER_FLASH_SIZE_0P5M_1M if SOC_SERIES_NPCX7
    default NPCX_HEADER_FLASH_SIZE_16M
    depends on NPCX_HEADER && SOC_FAMILY_NPCX
    help
      This sets the SPI flash size.

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