zephyr/subsys/emul/CMakeLists.txt

13 lines
330 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)
add_subdirectory(espi)