Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions drivers/sensors/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,17 @@ config SENSORS_BMP180
---help---
Enable driver support for the Bosch BMP180 barometer sensor.

if SENSORS_BMP180

config SENSORS_BMP180_UORB
bool "BMP180 UORB Interface"
select UORB
---help---
Enables work with the UORB or Character Device interface.
If not set, the Character Device is used by default.

endif #SENSORS_BMP180

config SENSORS_BMP280
bool "Bosch BMP280 Barometric Pressure Sensor"
default n
Expand Down
5 changes: 5 additions & 0 deletions drivers/sensors/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,13 @@ ifeq ($(CONFIG_SENSORS_BMI270),y)
endif

ifeq ($(CONFIG_SENSORS_BMP180),y)
CSRCS += bmp180_base.c
ifeq ($(CONFIG_SENSORS_BMP180_UORB),y)
CSRCS += bmp180_uorb.c
else
CSRCS += bmp180.c
endif
endif

ifeq ($(CONFIG_SENSORS_BMP280),y)
CSRCS += bmp280.c
Expand Down
Loading