Skip to content

Commit 4028e70

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 or stm32h735g disco kit, with_boot application is built and linked for the external flash Signed-off-by: Francois Ramu <[email protected]>
1 parent 9a0fc83 commit 4028e70

File tree

5 files changed

+55
-0
lines changed

5 files changed

+55
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_FLASH=y
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+
};
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ tests:
1616
- esp32c6_devkitc/esp32c6/hpcore
1717
- nucleo_h7s3l8
1818
- nucleo_u385rg_q
19+
- b_u585i_iot02a
20+
- stm32h735g_disco
21+
- stm32h7b3i_dk
1922
- stm32h7s78_dk
2023
integration_platforms:
2124
- nrf52840dk/nrf52840

0 commit comments

Comments
 (0)