Skip to content

Commit 0366e35

Browse files
committed
[nrf noup] samples: smp_svr: Add nrf54h20dk ext flash sample
Adds a configuration to this sample for external flash on the nRF54H20DK. It uses 'pure dts' approach, with no Partition Manager. Signed-off-by: Michal Kozikowski <[email protected]>
1 parent 2742e46 commit 0366e35

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/delete-node/ &slot1_partition;
8+
9+
/ {
10+
chosen {
11+
nordic,pm-ext-flash = &mx25uw63;
12+
};
13+
};
14+
15+
&mx25uw63 {
16+
status = "okay";
17+
partitions {
18+
compatible = "fixed-partitions";
19+
#address-cells = <1>;
20+
#size-cells = <1>;
21+
22+
slot1_partition: partition@0 {
23+
label = "image-1";
24+
reg = <0x0 DT_SIZE_K(512)>;
25+
};
26+
};
27+
};
28+
29+
&mram1x {
30+
partitions {
31+
slot0_partition: partition@3c000 {
32+
reg = <0x3c000 DT_SIZE_K(512)>;
33+
};
34+
};
35+
};

samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,11 @@ tests:
226226
- nrf5340dk/nrf5340/cpuapp
227227
integration_platforms:
228228
- nrf5340dk/nrf5340/cpuapp
229+
sample.mcumgr.smp_svr.serial.nrf54h20dk.ext_flash.pure_dts:
230+
extra_args:
231+
- EXTRA_CONF_FILE="overlay-serial.conf"
232+
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
233+
- mcuboot_EXTRA_CONF_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.conf"
234+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
235+
platform_allow:
236+
- nrf54h20dk/nrf54h20/cpuapp/iron

0 commit comments

Comments
 (0)