zephyr/tests/drivers/spi/spi_loopback/Kconfig
Daniel Gaston Ochoa 382eaf7baa tests: drivers: spi: stm32h7: Run 16-bit frames tests for DMA
Run 16-bit frames tests also when DMA is enabled. In addition,
remove the extra code required for the mentioned tests in
favor of config. files, and add test cases for nocache regions
defined in devicetree.

Signed-off-by: Daniel Gaston Ochoa <dgastonochoa@gmail.com>
2023-09-20 11:33:28 +01:00

26 lines
568 B
Plaintext

# 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"
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