Skip to content

Commit 2d4946e

Browse files
committed
boot: zephyr: boards config of the stm32h7s3l8 nucleo
Define the stm32 nucleo board 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 Signed-off-by: F. Ramu <[email protected]>
1 parent df6e629 commit 2d4946e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

boot/zephyr/boards/nucleo_h7s3l8.conf

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_BOOT_DIRECT_XIP=y
2+
CONFIG_STM32_MEMMAP=y
3+
CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2024 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,flash = &flash0;
10+
zephyr,code-partition = &boot_partition;
11+
};
12+
};

0 commit comments

Comments
 (0)