mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 23:45:47 +00:00
This emulator currently only supports SPI. Before making it also support I2C, move it up a directory to avoid I2C uses missing it. Signed-off-by: Simon Glass <sjg@chromium.org>
12 lines
307 B
CMake
12 lines
307 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_EMUL emul.c)
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_EMUL_BMI160 ${ZEPHYR_BASE}/drivers/sensor/bmi160)
|
|
zephyr_library_sources_ifdef(CONFIG_EMUL_BMI160 emul_bmi160.c)
|
|
|
|
add_subdirectory(i2c)
|
|
add_subdirectory(spi)
|