:orphan: .. title:: FLASH_LOAD_SIZE .. option:: CONFIG_FLASH_LOAD_SIZE *Kernel load size* Type: ``hex`` Help ==== If non-zero, this option specifies the size, in bytes, of the flash area that the Zephyr image will be allowed to occupy. If zero, the image will be able to occupy from the FLASH_LOAD_OFFSET to the end of the device. If unsure, leave at the default value 0. Direct dependencies =================== (\ :option:`BOARD_ACTINIUS_ICARUS ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `)) || (\ :option:`BOARD_ACTINIUS_ICARUS_NS ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `)) || (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `)) || (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `)) || (\ :option:`BOARD_LPCXPRESSO55S28 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && \ :option:`BOARD_LPCXPRESSO55S28 `) || (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `)) || ((\ :option:`TRUSTED_EXECUTION_NONSECURE ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `)) || ((\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP `) && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `)) || ((\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `)) || (\ :option:`BOARD_NRF9160_INNBLUE21 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `)) || (\ :option:`BOARD_NRF9160_INNBLUE21NS ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `)) || (\ :option:`BOARD_NRF9160_INNBLUE22 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `)) || (\ :option:`BOARD_NRF9160_INNBLUE22NS ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `)) || (\ :option:`BOARD_NRF9160DK_NRF9160 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `)) || (\ :option:`BOARD_NRF9160DK_NRF9160NS ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `)) || \ :option:`HAS_FLASH_LOAD_OFFSET ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x40000 if \ :option:`TFM_BL2_FALSE ` - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 if \ :option:`USE_DT_CODE_PARTITION ` - 0 Kconfig definitions =================== .. highlight:: kconfig At ``boards/arm/actinius_icarus/Kconfig.defconfig:24`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_ACTINIUS_ICARUS ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `) ---- At ``boards/arm/actinius_icarus/Kconfig.defconfig:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_ACTINIUS_ICARUS_NS ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `) ---- At ``boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig:25`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `) ---- At ``boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig:34`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `) ---- At ``boards/arm/lpcxpresso55s28/Kconfig.defconfig:52`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_LPCXPRESSO55S28 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && \ :option:`BOARD_LPCXPRESSO55S28 ` ---- At ``boards/arm/lpcxpresso55s69/Kconfig.defconfig:53`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) ---- At ``boards/arm/lpcxpresso55s69/Kconfig.defconfig:63`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x40000 if \ :option:`TFM_BL2_FALSE ` default 0x0 depends on (\ :option:`TRUSTED_EXECUTION_NONSECURE ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) ---- At ``boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:55`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP `) && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) ---- At ``boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:68`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) ---- At ``boards/arm/nrf9160_innblue21/Kconfig.defconfig:27`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE21 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `) ---- At ``boards/arm/nrf9160_innblue21/Kconfig.defconfig:37`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE21NS ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `) ---- At ``boards/arm/nrf9160_innblue22/Kconfig.defconfig:27`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE22 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `) ---- At ``boards/arm/nrf9160_innblue22/Kconfig.defconfig:37`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE22NS ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `) ---- At ``boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:24`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160DK_NRF9160 ` && \ :option:`TRUSTED_EXECUTION_SECURE ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `) ---- At ``boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_SIZE hex default 0x0 depends on \ :option:`BOARD_NRF9160DK_NRF9160NS ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `) ---- At ``Kconfig.zephyr:106`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options .. parsed-literal:: config FLASH_LOAD_SIZE hex "Kernel load size" if !\ :option:`USE_DT_CODE_PARTITION ` default 0x0 if \ :option:`USE_DT_CODE_PARTITION ` default 0 depends on \ :option:`HAS_FLASH_LOAD_OFFSET ` help If non-zero, this option specifies the size, in bytes, of the flash area that the Zephyr image will be allowed to occupy. If zero, the image will be able to occupy from the FLASH_LOAD_OFFSET to the end of the device. If unsure, leave at the default value 0. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*