72ae24d8d5
Add support to STM LSM6DSO 6-axis IMU sensor driver. This driver supports communication with device though both I2C and SPI bus and both polling and drdy trigger mode. This driver supports also the sensorhub mode with the possibility to connect a maximum of two external devices, typically a magnetometer and an environmental sensor, currently selected among following devices: lis2mdl magnetometer, lps22hh or lps22hb pressure and temperature sensors, HTS221 humidity sensor. Signed-off-by: Armando Visconti <armando.visconti@st.com>
14 lines
508 B
CMake
14 lines
508 B
CMake
# ST Microelectronics LSM6DSO 6-axis IMU sensor driver
|
|
#
|
|
# Copyright (c) 2019 STMicroelectronics
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LSM6DSO lsm6dso.c)
|
|
zephyr_library_sources_ifdef(CONFIG_LSM6DSO lsm6dso_i2c.c)
|
|
zephyr_library_sources_ifdef(CONFIG_LSM6DSO lsm6dso_spi.c)
|
|
zephyr_library_sources_ifdef(CONFIG_LSM6DSO_SENSORHUB lsm6dso_shub.c)
|
|
zephyr_library_sources_ifdef(CONFIG_LSM6DSO_TRIGGER lsm6dso_trigger.c)
|