diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig index 014b3b5d85db9..9f46b86714890 100644 --- a/drivers/sensors/Kconfig +++ b/drivers/sensors/Kconfig @@ -89,6 +89,21 @@ config BH1750FVI_I2C_FREQUENCY default 400000 depends on SENSORS_BH1750FVI +config SENSORS_BME280 + bool "Bosch BME280 Humidity / Temperaure / Barometic Pressure Sensor" + default n + select I2C + ---help--- + Enable driver for the Bosch BME280 humidity / temperature / barometic pressure sensor. + +if SENSORS_BME280 + +config BME280_I2C_FREQUENCY + int "BME280 I2C frequency" + default 400000 + +endif # SENSORS_BME280 + config SENSORS_BMG160 bool "Bosch BMG160 Gyroscope Sensor support" default n diff --git a/drivers/sensors/Make.defs b/drivers/sensors/Make.defs index 96e0d59307360..1a841a5372222 100644 --- a/drivers/sensors/Make.defs +++ b/drivers/sensors/Make.defs @@ -116,6 +116,10 @@ ifeq ($(CONFIG_SENSORS_BMG160),y) CSRCS += bmg160.c endif +ifeq ($(CONFIG_SENSORS_BME280),y) + CSRCS += bme280.c +endif + ifeq ($(CONFIG_SENSORS_BMI160),y) CSRCS += bmi160.c endif