Add BMP280/BME280 I2C barometer support (#2480)
commit40df0fb668c95d28d8fcec62aae0d3ae93a5e058
authorBryan Mayland <bmayland@capnbry.net>
Fri, 5 Apr 2024 21:07:28 +0000 (5 17:07 -0400)
committerGitHub <noreply@github.com>
Fri, 5 Apr 2024 21:07:28 +0000 (6 10:07 +1300)
tree375bdf5f99fa0e521d5569024d137732e492ec0f
parentcd028f61d6ef51593c7b693559ef3aed23a254a1
Add BMP280/BME280 I2C barometer support (#2480)

* Add BMP085 unused/untested

* WIP

* Support 0 temperature or pressure duration, jump right to next

* Finish up BMP280

* Fix for updated BaroI2CBase template

* Allow HAS_BARO on ESP8266

* Support BMP280 on multiple addresses

* add r flag to encode string as raw string to fix deprecation (#2598)

---------

Co-authored-by: Johannes <schugabe@gmx.at>
13 files changed:
src/lib/Baro/baro_base.cpp
src/lib/Baro/baro_base.h
src/lib/Baro/baro_bmp085.cpp [new file with mode: 0644]
src/lib/Baro/baro_bmp085.h [new file with mode: 0644]
src/lib/Baro/baro_bmp085_regs.h [new file with mode: 0644]
src/lib/Baro/baro_bmp280.cpp [new file with mode: 0644]
src/lib/Baro/baro_bmp280.h [new file with mode: 0644]
src/lib/Baro/baro_bmp280_regs.h [new file with mode: 0644]
src/lib/Baro/baro_spl06.cpp
src/lib/Baro/baro_spl06.h
src/lib/Baro/devBaro.cpp
src/lib/Baro/devBaro.h
src/python/build_flags.py