dts : bindings : sensor : bme680 Added support for BME680

Added support to the dts for the BME680 Environmental sensor

Signed-off-by: Bosch Sensortec <github@bosch-sensortec.com>
This commit is contained in:
Bosch Sensortec 2018-09-27 19:16:44 +02:00 committed by Maureen Helm
commit 86643ecec3
3 changed files with 28 additions and 0 deletions

View file

@ -183,6 +183,7 @@
/dts/posix/ @aescolar @vanwinkeljan
/ext/hal/atmel/asf/sam/include/same70*/ @aurel32
/ext/hal/atmel/asf/sam0/include/samr21/ @benpicco
/dts/bindings/sensor/*bme680* @BoschSensortec
/ext/hal/cmsis/ @MaureenHelm @galak
/ext/hal/microchip/ @franciscomunoz @albertofloyd @scottwcpg
/ext/hal/nordic/ @carlescufi @anangl

View file

@ -0,0 +1,20 @@
#
# Copyright (c) 2018, Bosch Sensortec GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: BME680 integrated environmental sensor
version: 0.1
description: >
The BME680 is an integrated environmental sensor that measures
temperature, pressure, humidity and air quality
inherits:
!include i2c-device.yaml
properties:
compatible:
constraint: "bosch,bme680"
...

View file

@ -44,6 +44,13 @@
#define DT_BOSCH_BME280_BUS_I2C 1
#endif
#ifndef DT_BOSCH_BME680_0_LABEL
#define DT_BOSCH_BME680_0_LABEL ""
#define DT_BOSCH_BME680_0_BASE_ADDRESS 0
#define DT_BOSCH_BME680_0_BUS_NAME ""
#define DT_BOSCH_BME680_BUS_I2C 1
#endif
#ifndef DT_AMS_CCS811_0_LABEL
#define DT_AMS_CCS811_0_LABEL ""
#define DT_AMS_CCS811_0_BUS_NAME ""