Browse Source

samples: sysbuild: with mcu_boot on the stm32h7rs targets

Run the sample to execute in place on the external flash of the
stm32h7s78_dk or nucleo_h7s3l8 boards.
with_boot is build and linked for the external flash
Download the mcuboot zephyr.bin in internal memory
Download the with_mcuboot zephyr.signed.bin in external memory

Signed-off-by: Francois Ramu <francois.ramu@st.com>
pull/89914/merge
Francois Ramu 2 months ago committed by Dan Kalowsky
parent
commit
68d097836b
  1. 17
      samples/sysbuild/with_mcuboot/boards/nucleo_h7s3l8.overlay
  2. 17
      samples/sysbuild/with_mcuboot/boards/stm32h7s78_dk.overlay
  3. 2
      samples/sysbuild/with_mcuboot/sample.yaml

17
samples/sysbuild/with_mcuboot/boards/nucleo_h7s3l8.overlay

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Define the device, controller and partition to be the external memory
* for running the application in external NOR from MCUboot
*/
/ {
chosen {
zephyr,flash = &mx25uw25645;
zephyr,flash-controller = &mx25uw25645;
zephyr,code-partition = &slot0_partition;
};
};

17
samples/sysbuild/with_mcuboot/boards/stm32h7s78_dk.overlay

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Define the device, controller and partition to be the external memory
* for running the application in external NOR from MCUboot
*/
/ {
chosen {
zephyr,flash = &mx66uw1g45;
zephyr,flash-controller = &mx66uw1g45;
zephyr,code-partition = &slot0_partition;
};
};

2
samples/sysbuild/with_mcuboot/sample.yaml

@ -14,6 +14,8 @@ tests: @@ -14,6 +14,8 @@ tests:
- esp32s3_devkitm/esp32s3/procpu
- esp32c3_devkitm
- esp32c6_devkitc/esp32c6/hpcore
- nucleo_h7s3l8
- stm32h7s78_dk
integration_platforms:
- nrf52840dk/nrf52840
- esp32_devkitc/esp32/procpu

Loading…
Cancel
Save