Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/drivers/spi/spi_loopback/boards/nucleo_g071rb.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_SPI_LARGE_BUFFER_SIZE=4500
CONFIG_SPI_IDEAL_TRANSFER_DURATION_SCALING=20
31 changes: 31 additions & 0 deletions tests/drivers/spi/spi_loopback/boards/nucleo_g071rb.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright (c) 2025 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

&spi1 {
dmas = <&dmamux1 2 17 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)>,
<&dmamux1 1 16 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
dma-names = "tx", "rx";

slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <500000>;
};

fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <16000000>;
};
};

&dma1 {
status = "okay";
};

&dmamux1 {
status = "okay";
};
3 changes: 3 additions & 0 deletions tests/drivers/spi/spi_loopback/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ tests:
platform_allow:
- b_u585i_iot02a
- nucleo_c071rb
- nucleo_g071rb
- nucleo_g474re
- nucleo_f207zg
- nucleo_f429zi
Expand Down Expand Up @@ -99,6 +100,7 @@ tests:
- nucleo_f429zi
- nucleo_f746zg
- nucleo_f767zi
- nucleo_g071rb
- nucleo_g474re
- nucleo_h743zi
- nucleo_h753zi
Expand All @@ -124,6 +126,7 @@ tests:
- nucleo_f429zi
- nucleo_f746zg
- nucleo_f767zi
- nucleo_g071rb
- nucleo_g474re
- nucleo_h743zi
- nucleo_h753zi
Expand Down