Skip to content

Commit bffc859

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 36ffd80 commit bffc859

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 35 additions & 0 deletions
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+
extmem-device = &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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,11 @@ tests:
230230
- nrf5340dk/nrf5340/cpuapp
231231
integration_platforms:
232232
- nrf5340dk/nrf5340/cpuapp
233+
sample.mcumgr.smp_svr.serial.nrf54h20dk.ext_flash.pure_dts:
234+
extra_args:
235+
- EXTRA_CONF_FILE="overlay-serial.conf"
236+
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
237+
- mcuboot_EXTRA_CONF_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.conf"
238+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
239+
platform_allow:
240+
- nrf54h20dk/nrf54h20/cpuapp/iron

0 commit comments

Comments
 (0)