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>
9 lines
223 B
CMake
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})
|