drvers/sensor and include/nuttx/sensors: Add support to Bosch BMP180 barometer. From Alan Carvalho de Assis.

This commit is contained in:
Alan Carvalho de Assis
2015-07-20 07:18:27 -06:00
committed by Gregory Nutt
parent e2a62ac814
commit a01b2e5bbc
4 changed files with 725 additions and 1 deletions
+7
View File
@@ -3,6 +3,13 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
config BMP180
bool "Bosch BMP180 Barometer Sensor support"
default n
select I2C
---help---
Enable driver support for the Bosch BMP180 barometer sensor.
config LIS331DL
bool "ST LIS331DL device support"
default n
+5 -1
View File
@@ -53,6 +53,10 @@ ifeq ($(CONFIG_ADXL345_I2C),y)
CSRCS += adxl345_i2c.c
endif
ifeq ($(CONFIG_BMP180),y)
CSRCS += bmp180.c
endif
ifeq ($(CONFIG_I2C_LM75),y)
CSRCS += lm75.c
endif
@@ -82,4 +86,4 @@ DEPPATH += --dep-path sensors
VPATH += :sensors
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)sensors}
endif # CONFIG_SENSORS
endif # CONFIG_SENSORS
File diff suppressed because it is too large Load Diff