:orphan: .. title:: FLASH_LOAD_OFFSET .. option:: 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 =================== (\ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_CODE_PARTITION ` && \ :option:`BOARD_NRF52840_PCA10059 `) || (\ :option:`BOARD_NRF9160_PCA10090NS ` && (\ :option:`BOARD_NRF9160_PCA10090 ` || \ :option:`BOARD_NRF9160_PCA10090NS `)) || \ :option:`HAS_FLASH_LOAD_OFFSET ` *(Includes any dependencies from if's and menus.)* Defaults ======== - 0x1000 if \ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_CODE_PARTITION ` && \ :option:`BOARD_NRF52840_PCA10059 ` - 0x0 if \ :option:`BOARD_NRF9160_PCA10090NS ` && (\ :option:`BOARD_NRF9160_PCA10090 ` || \ :option:`BOARD_NRF9160_PCA10090NS `) - 0x0 if \ :option:`USE_CODE_PARTITION ` && \ :option:`HAS_FLASH_LOAD_OFFSET ` - 0 if \ :option:`HAS_FLASH_LOAD_OFFSET ` Kconfig definitions =================== .. highlight:: kconfig At ``boards/arm/nrf52840_pca10059/Kconfig.defconfig:25`` Included via ``Kconfig:10`` → ``Kconfig.zephyr:21`` Menu path: (top menu) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x1000 if \ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_CODE_PARTITION ` && \ :option:`BOARD_NRF52840_PCA10059 ` depends on \ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_CODE_PARTITION ` && \ :option:`BOARD_NRF52840_PCA10059 ` ---- At ``boards/arm/nrf9160_pca10090/Kconfig.defconfig:59`` Included via ``Kconfig:10`` → ``Kconfig.zephyr:21`` Menu path: (top menu) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 if \ :option:`BOARD_NRF9160_PCA10090NS ` && (\ :option:`BOARD_NRF9160_PCA10090 ` || \ :option:`BOARD_NRF9160_PCA10090NS `) depends on \ :option:`BOARD_NRF9160_PCA10090NS ` && (\ :option:`BOARD_NRF9160_PCA10090 ` || \ :option:`BOARD_NRF9160_PCA10090NS `) ---- At ``Kconfig.zephyr:95`` Included via ``Kconfig:10`` Menu path: (top menu) → Build and Link Features → Linker Options .. parsed-literal:: config FLASH_LOAD_OFFSET hex prompt "Kernel load offset" if \ :option:`HAS_FLASH_LOAD_OFFSET ` default 0x0 if \ :option:`USE_CODE_PARTITION ` && \ :option:`HAS_FLASH_LOAD_OFFSET ` default 0 if \ :option:`HAS_FLASH_LOAD_OFFSET ` depends on \ :option:`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.)*