Skip to content

Commit 949566f

Browse files
nordic-krchhenrikbrixandersen
authored andcommitted
tests: drivers: spi: spi_controller_peripheral: Add nrf54h20dk cpuppr
Rework existing nrf54h20dk overlays to allow adding of nrf54h20dk//cpuppr target. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent f20b595 commit 949566f

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include "nrf54h20dk_nrf54h20_common.dtsi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include "../../../boards/nrf54h20dk_nrf54h20_common.dtsi"
7+
8+
&spi130 {
9+
status = "reserved";
10+
interrupt-parent = <&cpuppr_clic>;
11+
};
12+
13+
&dut_spis {
14+
status = "reserved";
15+
interrupt-parent = <&cpuppr_clic>;
16+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# nothing here

tests/drivers/spi/spi_controller_peripheral/testcase.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ common:
55
harness_config:
66
fixture: gpio_spi_loopback
77
platform_allow: |
8-
nrf52840dk/nrf52840 nrf54l15dk/nrf54l15/cpuapp
9-
nrf54h20dk/nrf54h20/cpuapp nrf54h20dk/nrf54h20/cpurad
8+
nrf52840dk/nrf52840 nrf54l15dk/nrf54l15/cpuapp nrf54h20dk/nrf54h20/cpuapp
9+
nrf54h20dk/nrf54h20/cpurad nrf54h20dk/nrf54h20/cpuppr
1010
1111
tests:
1212
drivers.spi.spi_mode0:
@@ -57,3 +57,4 @@ tests:
5757
- nrf52840dk/nrf52840
5858
- nrf54l15dk/nrf54l15/cpuapp
5959
- nrf54h20dk/nrf54h20/cpurad
60+
- nrf54h20dk/nrf54h20/cpuppr

0 commit comments

Comments
 (0)