1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/driver_bme680
2023-05-06 15:38:21 +02:00
..
contrib pkg/driver_bme680: add missing include 2022-09-29 13:12:33 +02:00
include pkg: add Bosch Sensortech BME680 driver 2020-03-12 08:42:11 +01:00
patches pkg: add Bosch Sensortech BME680 driver 2020-03-12 08:42:11 +01:00
doc.txt doc/pkg: include some Readme.md within doc.txt 2022-01-25 17:41:40 +01:00
Kconfig pkg/driver_bme680/kconfig: remove prompt and depend on driver module 2021-12-12 11:33:04 +01:00
Makefile pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
Makefile.dep pkg/driver_bme680: migrate to ztimer 2021-12-01 17:54:55 +01:00
Makefile.include pkg: add Bosch Sensortech BME680 driver 2020-03-12 08:42:11 +01:00
README.md treewide: replace occurrences of tests/driver_ with new path 2023-05-06 15:38:21 +02:00

BME680 vendor driver

Introduction

The BME680_driver is an I2C/SPI API for BME680 sensor.

The library is written and maintained by Bosch Sensortec. It is platform independent, as long as the right drivers are available for the given MCU.

In addition, this driver can use floating point if available on your MCU. By default, this package does not use it.

Usage

Refer to the code documentation at GitHub for more information on the API.

RIOT-OS interface

BME680 sensors are connected either via I2C or SPI. Which interface is used by which BME680 sensor is defined in the bme680_params parameters. The respective implementation is enabled by the modules bme680_i2c and bme680_spi. Both I2C and SPI can be used in one application.

USEMODULE='bme680_spi bme680_i2c' make BOARD=... -C tests/drivers/bme680

In order to use floating point, you can enable module bme680_fp variable:

USEMODULE='bme680_fp bme680_i2c' make BOARD=... -C tests/drivers/bme680

The following callbacks add support for the included drivers via I2C and SPI peripherals:

  • bme680_i2c_read_hal
  • bme680_i2c_write_hal
  • bme680_spi_read_hal
  • bme680_spi_write_hal