Skip to content

Commit 96576b3

Browse files
erwangonordicjm
authored andcommitted
boot: zephyr: socs: stm32h7s7xx: Add support for ext_flash_app variant
On the same example as stm23h750xx and stm32h573xx, introduce ext_flash_app variant for stm32h7s7xx in mcuboot. This allows chainloading applications in ext flash from a mcuboot application running in internal flash. Similarly, 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, whihc provides 'erase-block-size' and 'write-block-size' to external Flash DT node. Remove the no longer required Kconfig fragment for stm32h7s78_dk. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
1 parent 56538cf commit 96576b3

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

boot/zephyr/boards/stm32h7s78_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)