forked from nrfconnect/sdk-mcuboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg
Added configuration which allows to build MCUboot for nrf54l15pdk_nrf54l15_cpuapp with external flash used for the secondary slot. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit 78bc87c)
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
boot/zephyr/boards/nrf54l15pdk_nrf54l15_cpuapp_ext_flash.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONFIG_MULTITHREADING=y | ||
CONFIG_SPI=y | ||
CONFIG_SPI_NOR=y | ||
CONFIG_FLASH=y | ||
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x14000 | ||
CONFIG_MAIN_STACK_SIZE=20480 | ||
CONFIG_BOOT_MAX_IMG_SECTORS=512 | ||
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 |
10 changes: 10 additions & 0 deletions
10
boot/zephyr/boards/nrf54l15pdk_nrf54l15_cpuapp_ext_flash.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/ { | ||
chosen { | ||
nordic,pm-ext-flash = &mx25r64; | ||
}; | ||
}; | ||
|
||
|
||
&mx25r64 { | ||
status = "okay"; | ||
}; |