zephyr/tests/drivers/spi/spi_loopback/Kconfig
Krzysztof Chruściński 614e7d5399 tests: drivers: spi: loopback: Configurable large buffer
In order to allow fiting test in targets with smaller memory make
large buffer configurable through Kconfig.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-10-24 09:29:39 +02:00

29 lines
637 B
Text

# SPDX-License-Identifier: Apache-2.0
mainmenu "SPI Loopback Test"
source "Kconfig.zephyr"
config SPI_LOOPBACK_MODE_LOOP
bool "Configure the SPI in LOOP mode, so that no extra wiring is needed"
config SPI_LARGE_BUFFER_SIZE
int "Large buffer size"
default 8192
if SOC_SERIES_STM32H7X
config SPI_LOOPBACK_16BITS_FRAMES
bool "Use 16 bits frames for tests"
config DT_DEFINED_NOCACHE
bool "Enable this if nocache regions are defined in devicetree"
if DT_DEFINED_NOCACHE
config DT_DEFINED_NOCACHE_NAME
string "Name of the nocache region defined in devicetree (capitals)"
endif # DT_DEFINED_NOCACHE
endif # SOC_SERIES_STM32H7X