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

Flash Size in kB

Type: int

Help

This option specifies the size of the flash in kB. It is normally set by the board’s defconfig file and the user should generally avoid modifying it via the menu configuration.

Direct dependencies

(!XIP && BOARD_COLIBRI_IMX7D_M4) || (!XIP && BOARD_WARP7_M4) || (CODE_ITCM && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI2 && SOC_SERIES_IMX_RT) || (!XIP && SOC_CC3220SF && SOC_SERIES_CC32XX) || ARC || ARM || NIOS2 || X86

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

Kconfig definitions

At boards/arm/colibri_imx7d_m4/Kconfig.defconfig:69

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if !XIP && BOARD_COLIBRI_IMX7D_M4
    depends on !XIP && BOARD_COLIBRI_IMX7D_M4

At boards/arm/warp7_m4/Kconfig.defconfig:52

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if !XIP && BOARD_WARP7_M4
    depends on !XIP && BOARD_WARP7_M4

At soc/arm/nxp_imx/rt/Kconfig.defconfig.series:76

Included via Kconfig:10Kconfig.zephyr:23soc/arm/nxp_imx/Kconfig.defconfig:7

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if CODE_ITCM && SOC_SERIES_IMX_RT
    depends on CODE_ITCM && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.series:86

Included via Kconfig:10Kconfig.zephyr:23soc/arm/nxp_imx/Kconfig.defconfig:7

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if CODE_FLEXSPI && SOC_SERIES_IMX_RT
    depends on CODE_FLEXSPI && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.series:96

Included via Kconfig:10Kconfig.zephyr:23soc/arm/nxp_imx/Kconfig.defconfig:7

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if CODE_FLEXSPI2 && SOC_SERIES_IMX_RT
    depends on CODE_FLEXSPI2 && SOC_SERIES_IMX_RT

At soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf:50

Included via Kconfig:10Kconfig.zephyr:23soc/arm/ti_simplelink/Kconfig.defconfig:3soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:8

Menu path: (top menu)

config FLASH_SIZE
    int
    default 0 if !XIP && SOC_CC3220SF && SOC_SERIES_CC32XX
    depends on !XIP && SOC_CC3220SF && SOC_SERIES_CC32XX

At arch/Kconfig:104

Included via Kconfig:10Kconfig.zephyr:29

Menu path: (top menu) → General Architecture Options

config FLASH_SIZE
    int
    prompt "Flash Size in kB" if ARC || ARM || NIOS2 || X86
    default 0 if ((XIP && ARM) || !ARM) && (ARC || ARM || NIOS2 || X86)
    depends on ARC || ARM || NIOS2 || X86
    help
      This option specifies the size of the flash in kB.  It is normally set by
      the board's defconfig file and the user should generally avoid modifying
      it via the menu configuration.

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