-
CONFIG_FLASH_LOAD_SIZE
¶
Kernel load size
Type: hex
Help¶
If non-zero, this option specifies the size, in bytes, of the flash area that the Zephyr image will be allowed to occupy. If zero, the image will be able to occupy from the FLASH_LOAD_OFFSET to the end of the device.
If unsure, leave at the default value 0.
Direct dependencies¶
(BOARD_NRF9160_PCA10090
&& TRUSTED_EXECUTION_SECURE
&& (BOARD_NRF9160_PCA10090
|| BOARD_NRF9160_PCA10090NS
)) || (BOARD_NRF9160_PCA10090NS
&& (BOARD_NRF9160_PCA10090
|| BOARD_NRF9160_PCA10090NS
)) || HAS_FLASH_LOAD_OFFSET
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x0 if
BOARD_NRF9160_PCA10090
&&TRUSTED_EXECUTION_SECURE
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
) - 0x0 if
BOARD_NRF9160_PCA10090NS
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
) - 0x0 if
USE_CODE_PARTITION
&&HAS_FLASH_LOAD_OFFSET
- 0 if
HAS_FLASH_LOAD_OFFSET
Kconfig definitions¶
At boards/arm/nrf9160_pca10090/Kconfig.defconfig:52
Included via Kconfig:10
→ Kconfig.zephyr:21
Menu path: (top menu)
config FLASH_LOAD_SIZE hex default 0x0 ifBOARD_NRF9160_PCA10090
&&TRUSTED_EXECUTION_SECURE
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
) depends onBOARD_NRF9160_PCA10090
&&TRUSTED_EXECUTION_SECURE
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
)
At boards/arm/nrf9160_pca10090/Kconfig.defconfig:62
Included via Kconfig:10
→ Kconfig.zephyr:21
Menu path: (top menu)
config FLASH_LOAD_SIZE hex default 0x0 ifBOARD_NRF9160_PCA10090NS
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
) depends onBOARD_NRF9160_PCA10090NS
&& (BOARD_NRF9160_PCA10090
||BOARD_NRF9160_PCA10090NS
)
At Kconfig.zephyr:104
Included via Kconfig:10
Menu path: (top menu) → Build and Link Features → Linker Options
config FLASH_LOAD_SIZE hex prompt "Kernel load size" ifHAS_FLASH_LOAD_OFFSET
default 0x0 ifUSE_CODE_PARTITION
&&HAS_FLASH_LOAD_OFFSET
default 0 ifHAS_FLASH_LOAD_OFFSET
depends onHAS_FLASH_LOAD_OFFSET
help If non-zero, this option specifies the size, in bytes, of the flash area that the Zephyr image will be allowed to occupy. If zero, the image will be able to occupy from the FLASH_LOAD_OFFSET to the end of the device. If unsure, leave at the default value 0.
(Definitions include propagated dependencies, including from if’s and menus.)