Skip to content

Commit 9c12e1a

Browse files
committed
[nrf fromlist] boards: nrf54h20dk: Limit app core FLASH_LOAD_SIZE
Upstream PR #: 91413 CONFIG_USE_DT_CODE_PARTITION had to be disabled to add MCUboot support. As a result, CONFIG_FLASH_LOAD_SIZE was left at zero, which means that the linker would claim all available MRAM for the app core. For now, we can't allow that, because the default nRF54H20 DK memory map divides MRAM between multiple cores in order to support various samples. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit d4ea476)
1 parent 1670d39 commit 9c12e1a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

boards/nordic/nrf54h20dk/Kconfig.defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ if !USE_DT_CODE_PARTITION
1919
config FLASH_LOAD_OFFSET
2020
default $(dt_nodelabel_reg_addr_hex,cpuapp_boot_partition)
2121

22+
# This is meant to span 'cpuapp_boot_partition' and 'cpuapp_slot0_partition'
23+
# in the default memory map.
24+
config FLASH_LOAD_SIZE
25+
default 0x64000
26+
2227
endif # !USE_DT_CODE_PARTITION
2328

2429
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_0_9_0.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ toolchain:
1010
- zephyr
1111
sysbuild: true
1212
ram: 256
13-
flash: 296
13+
flash: 400
1414
supported:
1515
- adc
1616
- can

0 commit comments

Comments
 (0)