zephyr/tests/drivers/w1/w1_api/CMakeLists.txt
Thomas Stranger 442b06d02a tests: drivers: w1: add basic api test
This commit adds basic api tests for the w1 driver.

These tests mostly make sure that everything compiles without
errors. They expect a w1-bus configuration without any connected slave.
No bidirectional read/write tests are executed.
Send tests simply send without verifying the output,
and receive tests expect an idle bus(receiving only logical ones).

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-07-05 23:06:45 +02:00

9 lines
223 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(w1_api)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})