: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_ACTINIUS_ICARUS_NS ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `)) || (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `)) || ((\ :option:`TRUSTED_EXECUTION_NONSECURE ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `)) || (\ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_DT_CODE_PARTITION ` && \ :option:`BOARD_NRF52840DONGLE_NRF52840 `) || ((\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `)) || (\ :option:`BOARD_NRF9160_INNBLUE21NS ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `)) || (\ :option:`BOARD_NRF9160_INNBLUE22NS ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `)) || (\ :option:`BOARD_NRF9160DK_NRF9160NS ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `)) || \ :option:`BOARD_HIFIVE1_REVB ` || \ :option:`HAS_FLASH_LOAD_OFFSET ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 0x0 - 0x0 - 0x40000 if \ :option:`TFM_BL2_FALSE ` - 0x0 - 0x1000 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 if \ :option:`USE_DT_CODE_PARTITION ` - 0 Kconfig definitions =================== .. highlight:: kconfig At ``boards/arm/actinius_icarus/Kconfig.defconfig:30`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_ACTINIUS_ICARUS_NS ` && (\ :option:`BOARD_ACTINIUS_ICARUS ` || \ :option:`BOARD_ACTINIUS_ICARUS_NS `) ---- At ``boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig:31`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS ` && (\ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160 ` || \ :option:`BOARD_CIRCUITDOJO_FEATHER_NRF9160NS `) ---- At ``boards/arm/lpcxpresso55s69/Kconfig.defconfig:59`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x40000 if \ :option:`TFM_BL2_FALSE ` default 0x0 depends on (\ :option:`TRUSTED_EXECUTION_NONSECURE ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) && (\ :option:`BOARD_LPCXPRESSO55S69_CPU0 ` || \ :option:`BOARD_LPCXPRESSO55S69_CPU1 `) ---- At ``boards/arm/nrf52840dongle_nrf52840/Kconfig.defconfig:23`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x1000 depends on \ :option:`BOARD_HAS_NRF5_BOOTLOADER ` && !\ :option:`USE_DT_CODE_PARTITION ` && \ :option:`BOARD_NRF52840DONGLE_NRF52840 ` ---- At ``boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:65`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) && (\ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340PDK_NRF5340_CPUAPPNS ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPP ` || \ :option:`BOARD_NRF5340DK_NRF5340_CPUAPPNS `) ---- At ``boards/arm/nrf9160_innblue21/Kconfig.defconfig:34`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE21NS ` && (\ :option:`BOARD_NRF9160_INNBLUE21 ` || \ :option:`BOARD_NRF9160_INNBLUE21NS `) ---- At ``boards/arm/nrf9160_innblue22/Kconfig.defconfig:34`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_NRF9160_INNBLUE22NS ` && (\ :option:`BOARD_NRF9160_INNBLUE22 ` || \ :option:`BOARD_NRF9160_INNBLUE22NS `) ---- At ``boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:30`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_NRF9160DK_NRF9160NS ` && (\ :option:`BOARD_NRF9160DK_NRF9160 ` || \ :option:`BOARD_NRF9160DK_NRF9160NS `) ---- At ``boards/riscv/hifive1_revb/Kconfig.defconfig:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:18`` Menu path: (Top) .. parsed-literal:: config FLASH_LOAD_OFFSET hex default 0x0 depends on \ :option:`BOARD_HIFIVE1_REVB ` ---- At ``Kconfig.zephyr:93`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options .. parsed-literal:: config FLASH_LOAD_OFFSET hex "Kernel load offset" if !\ :option:`USE_DT_CODE_PARTITION ` default 0x0 if \ :option:`USE_DT_CODE_PARTITION ` default 0 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*