Skip to content

Commit 8d36285

Browse files
committed
boot: zephyr: boards config of the stm32h573 disco kit
Define the stm32h573 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 <[email protected]>
1 parent a295ea2 commit 8d36285

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

boot/zephyr/boards/stm32h573i_dk.conf

+4
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
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
/ {
7+
chosen {
8+
zephyr,flash = &flash0;
9+
zephyr,code-partition = &boot_partition;
10+
};
11+
};

0 commit comments

Comments
 (0)