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.

Defaults

Kconfig definitions

At boards/arm/actinius_icarus/Kconfig.defconfig:54

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_ACTINIUS_ICARUS && TRUSTED_EXECUTION_SECURE && (BOARD_ACTINIUS_ICARUS || BOARD_ACTINIUS_ICARUS_NS)

At boards/arm/actinius_icarus/Kconfig.defconfig:64

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_ACTINIUS_ICARUS_NS && (BOARD_ACTINIUS_ICARUS || BOARD_ACTINIUS_ICARUS_NS)

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

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_NRF5340_DK_NRF5340_CPUAPP && TRUSTED_EXECUTION_SECURE && (BOARD_NRF5340_DK_NRF5340_CPUAPP || BOARD_NRF5340_DK_NRF5340_CPUAPPNS)

At boards/arm/nrf5340_dk_nrf5340/Kconfig.defconfig:82

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_NRF5340_DK_NRF5340_CPUAPPNS && (BOARD_NRF5340_DK_NRF5340_CPUAPP || BOARD_NRF5340_DK_NRF5340_CPUAPPNS)

At boards/arm/nrf9160_pca10090/Kconfig.defconfig:54

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_NRF9160_PCA10090 && TRUSTED_EXECUTION_SECURE && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)

At boards/arm/nrf9160_pca10090/Kconfig.defconfig:64

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_SIZE
    hex
    default 0x0
    depends on BOARD_NRF9160_PCA10090NS && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)

At Kconfig.zephyr:118

Included via Kconfig:8

Menu path: (Top) → Build and Link Features → Linker Options

config FLASH_LOAD_SIZE
    hex "Kernel load size" if !USE_DT_CODE_PARTITION
    default 0x0 if USE_DT_CODE_PARTITION
    default 0
    depends on 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.)