zephyr/drivers/sensor/stmemsc/CMakeLists.txt

11 lines
264 B
CMake

# ST Microelectronics stmemsc hal i/f
#
# Copyright (c) 2021 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_I2C stmemsc_i2c.c)
zephyr_library_sources_ifdef(CONFIG_SPI stmemsc_spi.c)