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.

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

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

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

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

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

At Kconfig.zephyr:95

Included via Kconfig:10

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

config FLASH_LOAD_OFFSET
    hex
    prompt "Kernel load offset" if HAS_FLASH_LOAD_OFFSET
    default 0x0 if USE_CODE_PARTITION && HAS_FLASH_LOAD_OFFSET
    default 0 if HAS_FLASH_LOAD_OFFSET
    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.

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