1# SPDX-License-Identifier: Apache-2.0
2
3mainmenu "SPI Loopback Test"
4
5source "Kconfig.zephyr"
6
7config SPI_LOOPBACK_MODE_LOOP
8	bool "Configure the SPI in LOOP mode, so that no extra wiring is needed"
9
10config SPI_LARGE_BUFFER_SIZE
11	int "Large buffer size"
12	default 8192
13
14config SPI_IDEAL_TRANSFER_DURATION_SCALING
15	int "Scaling factor to compare ideal and measured SPI transfer duration"
16	default 40 if SPI_NXP_LPSPI_DMA || SPI_MCUX_FLEXIO
17	default 8
18
19if SOC_SERIES_STM32H7X
20
21config SPI_LOOPBACK_16BITS_FRAMES
22	bool "Use 16 bits frames for tests"
23
24config DT_DEFINED_NOCACHE
25	bool "Enable this if nocache regions are defined in devicetree"
26
27if DT_DEFINED_NOCACHE
28
29config DT_DEFINED_NOCACHE_NAME
30	string "Name of the nocache region defined in devicetree (capitals)"
31
32endif # DT_DEFINED_NOCACHE
33
34endif # SOC_SERIES_STM32H7X
35