Skip to content

Commit 6d1e90d

Browse files
committed
samples: sysbuild: with mcu_boot on the stm32 with octoSPI targets
Run the sample to execute in place on the external flash of the b_u585i_iot02a or stm32h7b3i disco kit, with_boot application is built and linked for the external flash Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent 3f6d52e commit 6d1e90d

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_FLASH=y
2+
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+
/ {
13+
chosen {
14+
zephyr,flash = &mx25lm51245;
15+
zephyr,flash-controller = &mx25lm51245;
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+
/ {
13+
chosen {
14+
zephyr,flash = &mx25lm51245;
15+
zephyr,flash-controller = &mx25lm51245;
16+
};
17+
};

samples/sysbuild/with_mcuboot/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ tests:
1616
- esp32c6_devkitc/esp32c6/hpcore
1717
- nucleo_h7s3l8
1818
- nucleo_u385rg_q
19+
- b_u585i_iot02a
20+
- stm32h7b3i_dk
1921
- stm32h7s78_dk
2022
integration_platforms:
2123
- nrf52840dk/nrf52840

0 commit comments

Comments
 (0)