Skip to content

Commit b9d13cc

Browse files
committed
samples: zephyr: mgmt: mcumgr: smp_svr: Add nrf54l15dk ext. flash
Adds to the sample of building this on nrf54l15dk with external flash using both PM and dts Signed-off-by: Mateusz Michalek <[email protected]> Signed-off-by: Jamie McCrae <[email protected]>
1 parent 5d955c4 commit b9d13cc

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-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+
/delete-node/ &storage_partition;
11+
12+
&cpuapp_rram {
13+
reg = <0x0 DT_SIZE_K(1524)>;
14+
15+
partitions {
16+
boot_partition: partition@0 {
17+
label = "mcuboot";
18+
reg = <0x000000000 0x00014000>;
19+
};
20+
21+
slot0_partition: partition@14000 {
22+
label = "image-0";
23+
reg = <0x000014000 0x0015A000>;
24+
};
25+
26+
storage_partition: partition@16E000 {
27+
label = "storage";
28+
reg = < 0x16E000 0x9000 >;
29+
};
30+
};
31+
};
32+
33+
&mx25r64 {
34+
status = "okay";
35+
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/zephyr/subsys/mgmt/mcumgr/smp_svr/sample.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,33 @@ tests:
1818
integration_platforms:
1919
- nrf54l15dk/nrf54l15/cpuapp
2020
- nrf54l15dk/nrf54l10/cpuapp
21+
sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash:
22+
extra_args:
23+
- OVERLAY_CONFIG="overlay-bt.conf"
24+
- DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
25+
- mcuboot_CONF_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.conf"
26+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
27+
- SB_CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
28+
- SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
29+
platform_allow:
30+
- nrf54l15dk/nrf54l15/cpuapp
31+
- nrf54l15dk/nrf54l10/cpuapp
32+
- nrf54l15dk/nrf54l05/cpuapp
33+
integration_platforms:
34+
- nrf54l15dk/nrf54l15/cpuapp
35+
sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash.pure_dts:
36+
extra_args:
37+
- OVERLAY_CONFIG="overlay-bt.conf"
38+
- DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
39+
- mcuboot_CONF_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.conf"
40+
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.overlay"
41+
- SB_CONFIG_PARTITION_MANAGER=n
42+
platform_allow:
43+
- nrf54l15dk/nrf54l15/cpuapp
44+
- nrf54l15dk/nrf54l10/cpuapp
45+
- nrf54l15dk/nrf54l05/cpuapp
46+
integration_platforms:
47+
- nrf54l15dk/nrf54l15/cpuapp
2148
sample.mcumgr.smp_svr.bt.nrf54h20dk:
2249
sysbuild: true
2350
extra_args:

0 commit comments

Comments
 (0)