Skip to content

Commit 3a02348

Browse files
adsz-nordicnvlsianpu
authored andcommitted
tests: bootloader: b0_lock_rwx: Coverage for nRF54LS05A
Add mcuboot.rwx partition overlays and platform entries for nrf54ls05dk/nrf54ls05a/cpuapp. Ref: NCSDK-40118 Signed-off-by: Adam Szczygieł <adam.szczygiel@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent f4cb5d1 commit 3a02348

4 files changed

Lines changed: 52 additions & 1 deletion

File tree

tests/subsys/bootloader/b0_lock_rwx/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
config TEST_IMMUTABLE_REGION
88
int
99
default 3
10-
default 2 if SOC_NRF54LS05B
10+
default 2 if (SOC_NRF54LS05A || SOC_NRF54LS05B)
1111

1212
config TEST_ADDITIONAL_REGION
1313
int
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
&cpuapp_rram {
8+
/delete-node/ partitions;
9+
10+
partitions {
11+
ranges;
12+
#address-cells = <1>;
13+
#size-cells = <1>;
14+
15+
boot_partition: partition@0 {
16+
compatible = "zephyr,mapped-partition";
17+
reg = <0x0 DT_SIZE_K(64)>;
18+
};
19+
20+
slot0_partition: partition@10000 {
21+
compatible = "zephyr,mapped-partition";
22+
reg = <0x10000 DT_SIZE_K(128)>;
23+
};
24+
25+
slot1_partition: partition@30000 {
26+
compatible = "zephyr,mapped-partition";
27+
reg = <0x30000 DT_SIZE_K(128)>;
28+
};
29+
};
30+
};
31+
32+
/ {
33+
chosen {
34+
zephyr,code-partition = &slot0_partition;
35+
};
36+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "../../../boards/nrf54ls05dk_nrf54ls05a_cpuapp_mcuboot.overlay"
8+
9+
/ {
10+
chosen {
11+
zephyr,code-partition = &boot_partition;
12+
};
13+
};

tests/subsys/bootloader/b0_lock_rwx/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ tests:
6464
- nrf54lm20dk/nrf54lm20a/cpuapp
6565
- nrf54lm20dk/nrf54lm20b/cpuapp
6666
- nrf54ls05dk/nrf54ls05b/cpuapp
67+
- nrf54ls05dk/nrf54ls05a/cpuapp
6768
integration_platforms:
6869
- nrf54lv10dk/nrf54lv10a/cpuapp
6970
- nrf54lc10dk/nrf54lc10a/cpuapp
7071
- nrf54lm20dk/nrf54lm20a/cpuapp
7172
- nrf54lm20dk/nrf54lm20b/cpuapp
7273
- nrf54ls05dk/nrf54ls05b/cpuapp
74+
- nrf54ls05dk/nrf54ls05a/cpuapp
7375
b0.mcuboot.rwx:
7476
extra_args:
7577
- FILE_SUFFIX=b0_mcuboot

0 commit comments

Comments
 (0)