Skip to content

Commit b673070

Browse files
committed
boot: zephyr: boards config of the variant stm32 disco kit
Define the stm32 disco board variant configuration to set the STM32 XIP mode that will enable the MemoryMapped mode. See Kconfig of the stm32 soc. Choose the mcu_boot partition where to build ../bootloader/mcuboot/boot/zephyr The zephyr, chosen zephyr,flash = &flash0; is in the board dts. The zephyr,code-partition = &boot_partition; is given by the app.overlay Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent 4eba808 commit b673070

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_STM32_MEMMAP=y

boot/zephyr/boards/stm32h750b_dk.conf

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

0 commit comments

Comments
 (0)