:orphan: .. title:: choice: Flash size .. _choice_82: .. describe:: choice: Flash size *Flash size* Type: ``bool`` Help ==== .. code-block:: none This sets the SPI flash size. Direct dependencies =================== \ :option:`NPCX_HEADER ` && \ :option:`SOC_FAMILY_NPCX ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - \ :option:`NPCX_HEADER_FLASH_SIZE_0P5M_1M ` if \ :option:`SOC_SERIES_NPCX7 ` - \ :option:`NPCX_HEADER_FLASH_SIZE_16M ` Choice options ============== - \ :option:`NPCX_HEADER_FLASH_SIZE_0P5M_1M ` - \ :option:`NPCX_HEADER_FLASH_SIZE_2M ` - \ :option:`NPCX_HEADER_FLASH_SIZE_4M ` - \ :option:`NPCX_HEADER_FLASH_SIZE_8M ` - \ :option:`NPCX_HEADER_FLASH_SIZE_16M ` Kconfig definition ================== At ``/arm/nuvoton_npcx/Kconfig:120`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:28`` → ``/Kconfig:11`` → ``/kconfig/Kconfig.soc.arch:2`` Menu path: (Top) → Hardware Configuration → Enable the output binary with NPCX binary header .. code-block:: kconfig 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.)*