mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
#71: add BMP280 and env IV to cibuild
This commit is contained in:
1 parent
834bbcb72a
commit
abe15281a1
4 files changed
+89
-20
No files matched your search
+29
-17
@@ -63,6 +63,17 @@
|
||||
#define _GWQMP6988
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
#ifdef M5_ENV4$GS$
|
||||
#ifndef M5_GROOVEIIC$GS$
|
||||
#define M5_GROOVEIIC$GS$
|
||||
#endif
|
||||
GROOVE_IIC(SHT3X,$Z$,1)
|
||||
GROOVE_IIC(BMP280,$Z$,1)
|
||||
#define _GWSHT3X
|
||||
#define _BMP280
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
//example: -DSHT3XG1_A : defines STH3Xn1 on grove A - x depends on the other devices
|
||||
#ifdef GWSHT3XG1$GS$
|
||||
@@ -118,6 +129,24 @@
|
||||
#define _GWBME280
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
#ifdef GWBMP280G1$GS$
|
||||
#ifndef M5_GROOVEIIC$GS$
|
||||
#define M5_GROOVEIIC$GS$
|
||||
#endif
|
||||
GROOVE_IIC(BMP280,$Z$,1)
|
||||
#define _GWBMP280
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
#ifdef GWBMP280G2$GS$
|
||||
#ifndef M5_GROOVEIIC$GS$
|
||||
#define M5_GROOVEIIC$GS$
|
||||
#endif
|
||||
GROOVE_IIC(BMP280,$Z$,2)
|
||||
#define _GWBMP280
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
//select up to 2 IIC devices for grove usage
|
||||
#ifdef M5_GROOVEIIC$GS$
|
||||
@@ -144,21 +173,4 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
#ifdef GWBMP280G1$GS$
|
||||
#ifndef M5_GROOVEIIC$GS$
|
||||
#define M5_GROOVEIIC$GS$
|
||||
#endif
|
||||
GROOVE_IIC(BMP280,$Z$,1)
|
||||
#define _GWBMP280
|
||||
#endif
|
||||
|
||||
#GROVE
|
||||
#ifdef GWBMP280G2$GS$
|
||||
#ifndef M5_GROOVEIIC$GS$
|
||||
#define M5_GROOVEIIC$GS$
|
||||
#endif
|
||||
GROOVE_IIC(BMP280,$Z$,2)
|
||||
#define _GWBMP280
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user