Skip to content

Commit d5cd92b

Browse files
committed
[nrf noup] sample/smp_svr: nrf54l15dk test cases
Added nrf54l15dk testcases as copies of nrf54l15pdk. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent adcffa8 commit d5cd92b

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/ {
2+
chosen {
3+
nordic,pm-ext-flash = &mx25r64;
4+
};
5+
};
6+
7+
/delete-node/ &boot_partition;
8+
/delete-node/ &slot0_partition;
9+
/delete-node/ &slot1_partition;
10+
11+
/delete-node/ &slot0_ns_partition;
12+
/delete-node/ &slot1_ns_partition;
13+
14+
/delete-node/ &storage_partition;
15+
16+
&cpuapp_rram {
17+
reg = < 0x0 DT_SIZE_K(1524) >;
18+
partitions {
19+
boot_partition: partition@0 {
20+
label = "mcuboot";
21+
reg = <0x000000000 0x00014000>;
22+
};
23+
slot0_partition: partition@14000 {
24+
label = "image-0";
25+
reg = <0x000014000 0x0015A000>;
26+
};
27+
storage_partition: partition@16E000 {
28+
label = "storage";
29+
reg = < 0x16E000 0x9000 >;
30+
};
31+
};
32+
};
33+
34+
&mx25r64 {
35+
status = "okay";
36+
partitions {
37+
compatible = "fixed-partitions";
38+
#address-cells = <1>;
39+
#size-cells = <1>;
40+
41+
slot1_partition: partition@0 {
42+
label = "image-1";
43+
reg = <0x000000000 0x0015A000>;
44+
};
45+
};
46+
};

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ tests:
1313
- pinnacle_100_dvk
1414
- mg100
1515
- nrf54l15pdk/nrf54l15/cpuapp
16+
- nrf54l15dk/nrf54l15/cpuapp
1617
integration_platforms:
1718
- nrf52dk/nrf52832
1819
- nrf52840dk/nrf52840
1920
- nrf54l15pdk/nrf54l15/cpuapp
21+
- nrf54l15dk/nrf54l15/cpuapp
2022
sample.mcumgr.smp_svr.bt_static_svc:
2123
extra_args: OVERLAY_CONFIG="overlay-bt.conf"
2224
extra_configs:
@@ -127,3 +129,26 @@ tests:
127129
- nrf54l15pdk/nrf54l15/cpuapp
128130
integration_platforms:
129131
- nrf54l15pdk/nrf54l15/cpuapp
132+
sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash:
133+
extra_args:
134+
- OVERLAY_CONFIG="overlay-bt.conf"
135+
- DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
136+
- mcuboot_CONF_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.conf"
137+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
138+
extra_configs:
139+
- CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
140+
platform_allow:
141+
- nrf54l15dk/nrf54l15/cpuapp
142+
integration_platforms:
143+
- nrf54l15dk/nrf54l15/cpuapp
144+
sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash.pure_dts:
145+
extra_args:
146+
- OVERLAY_CONFIG="overlay-bt.conf"
147+
- DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
148+
- mcuboot_CONF_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.conf"
149+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
150+
- SB_CONFIG_PARTITION_MANAGER=n
151+
platform_allow:
152+
- nrf54l15dk/nrf54l15/cpuapp
153+
integration_platforms:
154+
- nrf54l15dk/nrf54l15/cpuapp

0 commit comments

Comments
 (0)