Skip to content

Commit

Permalink
boot: zephyr: boards config of the stm32h7s3l8 nucleo
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
FRASTM committed Dec 18, 2024
1 parent df6e629 commit 2d4946e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boot/zephyr/boards/nucleo_h7s3l8.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_BOOT_DIRECT_XIP=y
CONFIG_STM32_MEMMAP=y
CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n
12 changes: 12 additions & 0 deletions boot/zephyr/boards/nucleo_h7s3l8.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2024 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
chosen {
zephyr,flash = &flash0;
zephyr,code-partition = &boot_partition;
};
};

0 comments on commit 2d4946e

Please sign in to comment.