Skip to content

Commit f6c0362

Browse files
FRASTMMaureenHelm
authored andcommitted
tests: drivers: spi loopback remove conf for most of the stm32 boards
The testcase is including a generic configuration conf for the stm32 target boards when running the SPI loopback in interrupt and DMA mode. Thus, the board specific conf file is useless. Signed-off-by: Francois Ramu <[email protected]>
1 parent a7d2b2a commit f6c0362

24 files changed

+6
-160
lines changed

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

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 0 additions & 2 deletions
This file was deleted.

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

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 0 additions & 2 deletions
This file was deleted.

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

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/drivers/spi/spi_loopback/boards/stm32l562e_dk_ns.overlay renamed to tests/drivers/spi/spi_loopback/boards/nucleo_f746zg.overlay

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
&spi1 {
8-
dmas = <&dmamux1 0 12 0x440
9-
&dmamux1 7 11 0x480>;
7+
&spi2 {
8+
pinctrl-0 = <&spi2_miso_pb14 &spi2_mosi_pb15>;
9+
pinctrl-names = "default";
10+
dmas = <&dma1 4 0 0x28440 0x03
11+
&dma1 3 0 0x28480 0x03>;
1012
dma-names = "tx", "rx";
11-
};
12-
13-
&dma1 {
1413
status = "okay";
1514
};
1615

17-
&dma2 {
18-
status = "okay";
19-
};
20-
21-
&dmamux1 {
16+
&dma1 {
2217
status = "okay";
2318
};
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
CONFIG_SPI_LOOPBACK_DRV_NAME="SPI_1"
2-
3-
CONFIG_SPI_STM32_DMA=y
4-
CONFIG_SPI_STM32_INTERRUPT=n
5-
6-
CONFIG_SPI_ASYNC=n
7-
8-
CONFIG_SPI_LOOPBACK_MODE_LOOP=n
9-
101
CONFIG_NOCACHE_MEMORY=y

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)