zephyr/drivers/sensor/iis3dhhc/CMakeLists.txt

12 lines
370 B
CMake

# ST Microelectronics IIS3DHHC accelerometer sensor
#
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_IIS3DHHC iis3dhhc.c)
zephyr_library_sources_ifdef(CONFIG_IIS3DHHC iis3dhhc_spi.c)
zephyr_library_sources_ifdef(CONFIG_IIS3DHHC_TRIGGER iis3dhhc_trigger.c)