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_96B_MEERKAT96) || (!XIP && BOARD_COLIBRI_IMX7D_M4) || BOARD_MERCURY_XU || (!XIP && BOARD_MIMX8MM_EVK) || (!XIP && BOARD_MIMX8MP_EVK) || (!XIP && BOARD_MIMX8MQ_EVK_CM4) || BOARD_MIMXRT685_EVK || (!XIP && BOARD_PICO_PI_M4) || (!XIP && BOARD_WARP7_M4) || (CODE_ITCM && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7) || (CODE_DDR && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7) || (CODE_SEMC && SOC_SERIES_IMX_RT) || (CODE_ITCM && SOC_SERIES_IMX_RT) || (CODE_SRAM0 && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI2 && SOC_SERIES_IMX_RT) || (!XIP && SOC_CC3220SF && SOC_SERIES_CC32XX) || (!XIP && SOC_CC3235SF && SOC_SERIES_CC32XX) || SOC_XILINX_ZYNQ7000 || SOC_XILINX_ZYNQ7000S || SOC_XILINX_ZYNQMP || (SOC_FVP_BASE_REVC_2XAEMV8A && SOC_SERIES_FVP_AEMV8A) || (SOC_FVP_AEMV8R_AARCH64 && SOC_SERIES_FVP_AEMV8R) || (SOC_LS1046A && SOC_SERIES_LS1046A) || SOC_QEMU_CORTEX_A53 || (CODE_ITCM && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7) || (CODE_DDR && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7) || (CODE_SEMC && SOC_SERIES_IMX_RT) || (CODE_ITCM && SOC_SERIES_IMX_RT) || (CODE_SRAM0 && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI && SOC_SERIES_IMX_RT) || (CODE_FLEXSPI2 && SOC_SERIES_IMX_RT) || (!XIP && SOC_CC3220SF && SOC_SERIES_CC32XX) || (!XIP && SOC_CC3235SF && SOC_SERIES_CC32XX) || SOC_XILINX_ZYNQ7000 || SOC_XILINX_ZYNQ7000S || SOC_XILINX_ZYNQMP || (SOC_FVP_BASE_REVC_2XAEMV8A && SOC_SERIES_FVP_AEMV8A) || (SOC_FVP_AEMV8R_AARCH64 && SOC_SERIES_FVP_AEMV8R) || (SOC_LS1046A && SOC_SERIES_LS1046A) || SOC_QEMU_CORTEX_A53 || ARC || ARM || ARM64 || NIOS2 || X86

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <Zephyr>/boards/arm/96b_meerkat96/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && BOARD_96B_MEERKAT96

At <Zephyr>/boards/arm/colibri_imx7d_m4/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/arm/mercury_xu/Kconfig.defconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 64
    depends on BOARD_MERCURY_XU

At <Zephyr>/boards/arm/mimx8mm_evk/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && BOARD_MIMX8MM_EVK

At <Zephyr>/boards/arm/mimx8mp_evk/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && BOARD_MIMX8MP_EVK

At <Zephyr>/boards/arm/mimx8mq_evk/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && BOARD_MIMX8MQ_EVK_CM4

At <Zephyr>/boards/arm/mimxrt685_evk/Kconfig.defconfig:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on BOARD_MIMXRT685_EVK

At <Zephyr>/boards/arm/pico_pi_m4/Kconfig.defconfig:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && BOARD_PICO_PI_M4

At <Zephyr>/boards/arm/warp7_m4/Kconfig.defconfig:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:39

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8<Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.series:16

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_ITCM && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7

At <Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8<Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.series:16

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_DDR && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:100

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_SEMC && SOC_SERIES_IMX_RT

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:110

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:122

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_SRAM0 && SOC_SERIES_IMX_RT

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:133

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:145

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/ti_simplelink/Kconfig.defconfig:3<Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

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

At <Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3235sf:35

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/ti_simplelink/Kconfig.defconfig:3<Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && SOC_CC3235SF && SOC_SERIES_CC32XX

At <Zephyr>/soc/arm/xilinx_zynq7000/Kconfig.defconfig:19

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_XILINX_ZYNQ7000 || SOC_XILINX_ZYNQ7000S

At <Zephyr>/soc/arm/xilinx_zynqmp/Kconfig.defconfig:25

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_XILINX_ZYNQMP

At <Zephyr>/soc/arm64/arm/fvp_aemv8a/Kconfig.defconfig.series:24

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm64/arm/Kconfig.defconfig:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_FVP_BASE_REVC_2XAEMV8A && SOC_SERIES_FVP_AEMV8A

At <Zephyr>/soc/arm64/arm/fvp_aemv8r/Kconfig.defconfig.series:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm64/arm/Kconfig.defconfig:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_FVP_AEMV8R_AARCH64 && SOC_SERIES_FVP_AEMV8R

At <Zephyr>/soc/arm64/nxp_layerscape/ls1046a/Kconfig.defconfig.ls1046a:16

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm64/nxp_layerscape/Kconfig.defconfig:7<Zephyr>/soc/arm64/nxp_layerscape/ls1046a/Kconfig.defconfig.series:12

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_LS1046A && SOC_SERIES_LS1046A

At <Zephyr>/soc/arm64/qemu_cortex_a53/Kconfig.defconfig:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_QEMU_CORTEX_A53

At <Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:39

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8<Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.series:16

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_ITCM && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7

At <Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8<Zephyr>/soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.series:16

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_DDR && SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:100

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_SEMC && SOC_SERIES_IMX_RT

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:110

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:122

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on CODE_SRAM0 && SOC_SERIES_IMX_RT

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:133

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/nxp_imx/rt/Kconfig.defconfig.series:145

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_imx/Kconfig.defconfig:8

Menu path: (Top)

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

At <Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/ti_simplelink/Kconfig.defconfig:3<Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

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

At <Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3235sf:35

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/ti_simplelink/Kconfig.defconfig:3<Zephyr>/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on !XIP && SOC_CC3235SF && SOC_SERIES_CC32XX

At <Zephyr>/soc/arm/xilinx_zynq7000/Kconfig.defconfig:19

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_XILINX_ZYNQ7000 || SOC_XILINX_ZYNQ7000S

At <Zephyr>/soc/arm/xilinx_zynqmp/Kconfig.defconfig:25

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_XILINX_ZYNQMP

At <Zephyr>/soc/arm64/arm/fvp_aemv8a/Kconfig.defconfig.series:24

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm64/arm/Kconfig.defconfig:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_FVP_BASE_REVC_2XAEMV8A && SOC_SERIES_FVP_AEMV8A

At <Zephyr>/soc/arm64/arm/fvp_aemv8r/Kconfig.defconfig.series:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm64/arm/Kconfig.defconfig:7

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_FVP_AEMV8R_AARCH64 && SOC_SERIES_FVP_AEMV8R

At <Zephyr>/soc/arm64/nxp_layerscape/ls1046a/Kconfig.defconfig.ls1046a:16

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm64/nxp_layerscape/Kconfig.defconfig:7<Zephyr>/soc/arm64/nxp_layerscape/ls1046a/Kconfig.defconfig.series:12

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_LS1046A && SOC_SERIES_LS1046A

At <Zephyr>/soc/arm64/qemu_cortex_a53/Kconfig.defconfig:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config FLASH_SIZE
    int
    default 0
    depends on SOC_QEMU_CORTEX_A53

At <Zephyr>/arch/Kconfig:187

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39

Menu path: (Top) → General Architecture Options

config FLASH_SIZE
    int "Flash Size in kB"
    default 0 if (XIP && (ARM || ARM64)) || !ARM
    depends on ARC || ARM || ARM64 || 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.

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