Skip to content

Commit 68d0978

Browse files
FRASTMdkalowsk
authored andcommitted
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>
1 parent 5a4326e commit 68d0978

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*
8+
* Define the device, controller and partition to be the external memory
9+
* for running the application in external NOR from MCUboot
10+
*/
11+
/ {
12+
chosen {
13+
zephyr,flash = &mx25uw25645;
14+
zephyr,flash-controller = &mx25uw25645;
15+
zephyr,code-partition = &slot0_partition;
16+
};
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*
8+
* Define the device, controller and partition to be the external memory
9+
* for running the application in external NOR from MCUboot
10+
*/
11+
/ {
12+
chosen {
13+
zephyr,flash = &mx66uw1g45;
14+
zephyr,flash-controller = &mx66uw1g45;
15+
zephyr,code-partition = &slot0_partition;
16+
};
17+
};

samples/sysbuild/with_mcuboot/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ tests:
1414
- esp32s3_devkitm/esp32s3/procpu
1515
- esp32c3_devkitm
1616
- esp32c6_devkitc/esp32c6/hpcore
17+
- nucleo_h7s3l8
18+
- stm32h7s78_dk
1719
integration_platforms:
1820
- nrf52840dk/nrf52840
1921
- esp32_devkitc/esp32/procpu

0 commit comments

Comments
 (0)