Skip to content

Commit b5090e2

Browse files
djiatsaf-stkartben
authored andcommitted
tests: drivers: spi: spi_loopback: update spi_loopback test
add nucleo_wba55cg board for spi_loopback driver test. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
1 parent e54c615 commit b5090e2

File tree

2 files changed

+31
-0
lines changed

2 files changed

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

tests/drivers/spi/spi_loopback/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ tests:
7272
- nucleo_f429zi
7373
- nucleo_f746zg
7474
- nucleo_f767zi
75+
- nucleo_wba55cg
7576
- nucleo_wb55rg
7677
- nucleo_l152re
7778
- nucleo_wl55jc
@@ -134,6 +135,7 @@ tests:
134135
- nucleo_h745zi_q/stm32h745xx/m4
135136
- nucleo_h745zi_q/stm32h745xx/m7
136137
- nucleo_l152re
138+
- nucleo_wba55cg
137139
- nucleo_wb55rg
138140
- nucleo_wl55jc
139141
- stm32f3_disco

0 commit comments

Comments
 (0)