Skip to content

Commit 6d76a71

Browse files
nordic-segljhedberg
authored andcommitted
tests: drivers: spi: spi_loopback: Run test on nrf54h20 PPR XIP
The spi_loopback test requires more RAM than is avilable on nrf54h20dk/nrf54h20/cpuppr target. Meanwhile, test fits in Execute In Place (XIP) variant of the PPR target. Switch spi_loopback test to nrf54h20 PPR XIP target. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent c180420 commit 6d76a71

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

tests/drivers/spi/spi_loopback/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,4 @@
77

88
&spi130 {
99
memory-regions = <&cpuapp_dma_region>;
10-
zephyr,pm-device-runtime-auto;
11-
slow@0 {
12-
compatible = "test-spi-loopback-slow";
13-
reg = <0>;
14-
spi-max-frequency = <DT_FREQ_K(500)>;
15-
};
16-
fast@0 {
17-
compatible = "test-spi-loopback-fast";
18-
reg = <0>;
19-
spi-max-frequency = <DT_FREQ_M(8)>;
20-
};
2110
};

tests/drivers/spi/spi_loopback/boards/nrf54h20dk_nrf54h20_cpuppr.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_SPI_LARGE_BUFFER_SIZE=1024
2+
CONFIG_SPI_IDEAL_TRANSFER_DURATION_SCALING=15

tests/drivers/spi/spi_loopback/boards/nrf54h20dk_nrf54h20_cpuppr.overlay renamed to tests/drivers/spi/spi_loopback/boards/nrf54h20dk_nrf54h20_cpuppr_xip.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 Nordic Semiconductor ASA
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/

0 commit comments

Comments
 (0)