Skip to content

Commit ad738e5

Browse files
ahasztagtomchy
authored andcommitted
samples: dfu: ab sample nrf54L15 support
This commit adds support for nRF54L15 in the DFU A/B sample Signed-off-by: Artur Hadasz <[email protected]>
1 parent 2e9e190 commit ad738e5

File tree

5 files changed

+59
-0
lines changed

5 files changed

+59
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "../sysbuild/nrf54l15dk_nrf54l15_cpuapp_common.dtsi"

samples/dfu/ab/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ tests:
1313
sysbuild: true
1414
platform_allow:
1515
- nrf54h20dk/nrf54h20/cpuapp
16+
- nrf54l15dk/nrf54l15/cpuapp
1617
integration_platforms:
1718
- nrf54h20dk/nrf54h20/cpuapp
19+
- nrf54l15dk/nrf54l15/cpuapp
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10800
2+
3+
# The default MCUboot is too large to support fprotect.
4+
# To use fprotect disable logs or perform other size optimizations.
5+
# For example, do:
6+
# CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xE800
7+
# CONFIG_LOG=n
8+
# CONFIG_FPROTECT=y
9+
CONFIG_FPROTECT=n
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "../../nrf54l15dk_nrf54l15_cpuapp_common.dtsi"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
nrf,bootloader-request = &boot_request;
10+
};
11+
};
12+
13+
/ {
14+
cpuapp_sram@2003FFF0 {
15+
compatible = "zephyr,memory-region", "mmio-sram";
16+
reg = <0x2003FFF0 0x10>;
17+
zephyr,memory-region = "RetainedMem";
18+
status = "okay";
19+
retainedmem {
20+
compatible = "zephyr,retained-ram";
21+
status = "okay";
22+
#address-cells = <1>;
23+
#size-cells = <1>;
24+
25+
boot_request: boot_request@0 {
26+
compatible = "zephyr,retention";
27+
status = "okay";
28+
reg = <0x0 0x10>;
29+
prefix = [0B 01];
30+
checksum = <4>;
31+
};
32+
};
33+
};
34+
};

0 commit comments

Comments
 (0)