Skip to content

Commit 432035b

Browse files
de-nordicFrancescoSer
authored andcommitted
tests/bootloader/bl_validation_neg: Add DTS overlays
Enable DTS partition testing. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent df91126 commit 432035b

29 files changed

Lines changed: 444 additions & 0 deletions
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+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
12+
13+
bl_storage: &storage_partition {};
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+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
12+
13+
bl_storage: &storage_partition {};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
b0_partition: &boot_partition {};
8+
9+
s0_partition: &slot0_partition {};
10+
11+
s1_partition: &slot1_partition {};
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/nrf52840dk_nrf52840.overlay"
8+
9+
/ {
10+
chosen {
11+
zephyr,code-partition = &b0_partition;
12+
};
13+
};
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/nrf52dk_nrf52832.overlay"
8+
9+
/ {
10+
chosen {
11+
zephyr,code-partition = &b0_partition;
12+
};
13+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# CC3xx is currently not used for nrf5340
8+
CONFIG_HW_CC3XX=n
9+
CONFIG_NRF_CC3XX_PLATFORM=n
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/nrf5340dk_nrf5340_cpuapp.overlay"
8+
9+
/ {
10+
chosen {
11+
zephyr,code-partition = &b0_partition;
12+
};
13+
};

0 commit comments

Comments
 (0)