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

CONFIG_NPCX_HEADER_FLASH_SIZE

(No prompt – not directly user assignable.)

Type: int

Direct dependencies

NPCX_HEADER && SOC_FAMILY_NPCX

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At soc/arm/nuvoton_npcx/Kconfig:172

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

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

config NPCX_HEADER_FLASH_SIZE
    int
    default 1 if NPCX_HEADER_FLASH_SIZE_0P5M_1M
    default 2 if NPCX_HEADER_FLASH_SIZE_2M
    default 4 if NPCX_HEADER_FLASH_SIZE_4M
    default 8 if NPCX_HEADER_FLASH_SIZE_8M
    default 16 if NPCX_HEADER_FLASH_SIZE_16M
    depends on NPCX_HEADER && SOC_FAMILY_NPCX

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