zephyr/tests/drivers/spi/spi_loopback/CMakeLists.txt
Tom Burdick 06aa17f716 tests: SPI loopback with RTIO
Adds the equivalent spi loopback tests using RTIO and a testplan that
uses it. Adds a tdk robokit1 overlay to enable the NOCACHE option so
that DMA transfers correctly work.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-04-03 09:51:02 +02:00

9 lines
259 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(spi_loopback)
target_sources(app PRIVATE src/spi.c)
target_sources_ifdef(CONFIG_SPI_RTIO app PRIVATE src/spi_rtio.c)