Using the SPI emulator we can create a simple test for the BMI160 driver. Add this an enable it for native_posix. Signed-off-by: Simon Glass <sjg@chromium.org>
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(device)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|