mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
drvers/sensor and include/nuttx/sensors: Add support to Bosch BMP180 barometer. From Alan Carvalho de Assis.
This commit is contained in:
committed by
Gregory Nutt
parent
e2a62ac814
commit
a01b2e5bbc
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user