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

HAS_FLASH_LOAD_OFFSET && !HAS_DTS

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

Defaults

Kconfig definition

At misc/Kconfig:31

Included via Kconfig:10Kconfig.zephyr:31

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

config FLASH_LOAD_SIZE
    hex
    prompt "Kernel load size" if HAS_FLASH_LOAD_OFFSET && !HAS_DTS
    default 0 if HAS_FLASH_LOAD_OFFSET && !HAS_DTS
    depends on HAS_FLASH_LOAD_OFFSET && !HAS_DTS
    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.

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