Skip to content

Commit f2c37c4

Browse files
kbidanikartben
authored andcommitted
tests: drivers: spi: spi_loopback: add stm32u3 boards overlays
add SPI loopback test overlays for Nucleo U385RG-Q board. Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
1 parent df7d9ba commit f2c37c4

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&spi3 {
8+
dmas = <&gpdma1 0 11 STM32_DMA_PERIPH_TX
9+
&gpdma1 1 10 STM32_DMA_PERIPH_RX>;
10+
dma-names = "tx", "rx";
11+
slow@0 {
12+
compatible = "test-spi-loopback-slow";
13+
reg = <0>;
14+
spi-max-frequency = <500000>;
15+
};
16+
fast@0 {
17+
compatible = "test-spi-loopback-fast";
18+
reg = <0>;
19+
spi-max-frequency = <16000000>;
20+
};
21+
};
22+
23+
&gpdma1 {
24+
status = "okay";
25+
};

tests/drivers/spi/spi_loopback/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ tests:
6969
- nucleo_h753zi
7070
- nucleo_h745zi_q/stm32h745xx/m4
7171
- nucleo_h745zi_q/stm32h745xx/m7
72+
- nucleo_u385rg_q
7273
- stm32h573i_dk
7374
- stm32n6570_dk/stm32n657xx/sb
7475
- stm32u083c_dk
@@ -102,6 +103,7 @@ tests:
102103
- nucleo_h745zi_q/stm32h745xx/m4
103104
- nucleo_h745zi_q/stm32h745xx/m7
104105
- nucleo_l152re
106+
- nucleo_u385rg_q
105107
- nucleo_wba55cg
106108
- nucleo_wb55rg
107109
- nucleo_wl55jc

0 commit comments

Comments
 (0)