CONFIG_FLASH_LOAD_OFFSET

Kernel load offset

Type: hex

Help

This option specifies the byte offset from the beginning of flash that the kernel should be loaded into. Changing this value from zero will affect the Zephyr image’s link, and will decrease the total amount of flash available for use by application code.

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:19

Included via Kconfig:10Kconfig.zephyr:31

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

config FLASH_LOAD_OFFSET
    hex
    prompt "Kernel load offset" 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
      This option specifies the byte offset from the beginning of flash that
      the kernel should be loaded into. Changing this value from zero will
      affect the Zephyr image's link, and will decrease the total amount of
      flash available for use by application code.

      If unsure, leave at the default value 0.

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