drivers/sensors: Add driver for the ST L3GD20 3 axis gyro

This commit is contained in:
raiden00
2017-02-19 16:45:47 +01:00
parent 6bafdb1cdc
commit 82cb38c824
4 changed files with 959 additions and 0 deletions
+7
View File
@@ -32,6 +32,13 @@ config BMP180
---help---
Enable driver support for the Bosch BMP180 barometer sensor.
config SENSORS_L3GD20
bool "ST L3GD20 Gyroscope Sensor support"
default n
select SPI
---help---
Enable driver support for the ST L3GD20 gyroscope sensor.
config SENSOR_KXTJ9
bool "Kionix KXTJ9 Accelerometer support"
default n
+4
View File
@@ -130,6 +130,10 @@ ifeq ($(CONFIG_LIS3MDL),y)
CSRCS += lis3mdl.c
endif
ifeq ($(CONFIG_SENSORS_L3GD20),y)
CSRCS += l3gd20.c
endif
endif # CONFIG_SPI
# Quadrature encoder upper half
File diff suppressed because it is too large Load Diff