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.

Defaults

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

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

At boards/arm/nrf52840_pca10059/Kconfig.defconfig:25

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x1000
    depends on BOARD_HAS_NRF5_BOOTLOADER && !USE_DT_CODE_PARTITION && BOARD_NRF52840_PCA10059

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

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_OFFSET
    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:61

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

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

At boards/riscv/hifive1_revb/Kconfig.defconfig:15

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_HIFIVE1_REVB

At Kconfig.zephyr:105

Included via Kconfig:8

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

config FLASH_LOAD_OFFSET
    hex "Kernel load offset" if !USE_DT_CODE_PARTITION
    default 0x0 if USE_DT_CODE_PARTITION
    default 0
    depends on HAS_FLASH_LOAD_OFFSET
    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.

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