Skip to content

Commit 2dd7c65

Browse files
FRASTMnordicjm
authored andcommitted
boot: zephyr: boards config of the stm32h7rs target boards
Define the stm32h7s7 board configuration to set the STM32 XIP mode that will enable the MemoryMapped mode. Gives larger sector size for the external NOR flash See Kconfig of the stm32 soc. Choose the mcu_boot partition where to build ../bootloader/mcuboot/boot/zephyr Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent cde66e1 commit 2dd7c65

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

boot/zephyr/boards/nucleo_h7s3l8.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_BOOT_DIRECT_XIP=y
2+
CONFIG_STM32_MEMMAP=y
3+
CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n
4+
CONFIG_BOOT_MAX_IMG_SECTORS=4096

boot/zephyr/boards/stm32h7s78_dk.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_BOOT_DIRECT_XIP=y
2+
CONFIG_STM32_MEMMAP=y
3+
CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n
4+
CONFIG_BOOT_MAX_IMG_SECTORS=4096

0 commit comments

Comments
 (0)