zephyr/drivers/sensor/lis2dw12/CMakeLists.txt

13 lines
447 B
CMake

# ST Microelectronics LIS2DW12 3-axis accelerometer driver
#
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_LIS2DW12 lis2dw12)
zephyr_library_sources_ifdef(CONFIG_LIS2DW12 lis2dw12_i2c.c)
zephyr_library_sources_ifdef(CONFIG_LIS2DW12 lis2dw12_spi.c)
zephyr_library_sources_ifdef(CONFIG_LIS2DW12_TRIGGER lis2dw12_trigger.c)