Skip to content

Commit 606a193

Browse files
tpambornordicjm
authored andcommitted
boot: zephyr: socs: add overlay & conf for stm32h573xx_ext_flash_app
Following the introduction of stm32h573i-dk 'ext_flash_app' board variant, for storing apps in external flash and chainloading them with MCUboot that's placed in internal flash, we need a devicetree overlay to designate the internal flash and flash controller as the chosen 'zephyr,flash' and 'zephyr,flash-controller' for the MCUboot zephyr application. Also, BOOT_MAX_IMG_SECTORS_AUTO is no longer needed to be disabled after including the 'soc-nv-flash' binding in the 'st,stm32-xspi-nor' binding, then adding the 'erase-block-size' and 'write-block-size' properties in external Flash DT node. Signed-off-by: Tim Pambor <[email protected]> fix
1 parent e4fc5ae commit 606a193

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

boot/zephyr/boards/stm32h573i_dk.conf

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_STM32_MEMMAP=y
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/ {
2+
chosen {
3+
zephyr,flash = &flash0;
4+
zephyr,flash-controller = &flash;
5+
zephyr,code-partition = &boot_partition;
6+
};
7+
};

0 commit comments

Comments
 (0)