diff --git a/lib/hardware/GwM5Grove.in b/lib/hardware/GwM5Grove.in index aed70a1..9858783 100644 --- a/lib/hardware/GwM5Grove.in +++ b/lib/hardware/GwM5Grove.in @@ -43,6 +43,13 @@ #define _GWI_SERIAL_GROOVE$GS$ GWSERIAL_TYPE_RX,9600 #endif +#GROVE +//https://docs.m5stack.com/en/unit/Unit-GPS%20v1.1 +#ifdef M5_GPSV11_UNIT$GS$ + GWRESOURCE_USE(GROOVE$G$,M5_GPSV11_UNIT$GS$) + #define _GWI_SERIAL_GROOVE$GS$ GWSERIAL_TYPE_RX,115200 +#endif + #GROVE //CAN via groove #ifdef M5_CANUNIT$GS$ diff --git a/webinstall/build.yaml b/webinstall/build.yaml index 8344026..fe7ec90 100644 --- a/webinstall/build.yaml +++ b/webinstall/build.yaml @@ -179,6 +179,11 @@ types: description: "M5 Gps Unit" url: "https://docs.m5stack.com/en/unit/gps" resource: serial + - label: "Gps Unit v1.1" + value: M5_GPSV11_UNIT#grv# + description: "M5 Gps Unit v1.1" + url: "https://docs.m5stack.com/en/unit/Unit-GPS%20v1.1" + resource: serial - label: "RS232/RS422" value: SERIAL_GROOVE_232#grv# description: "Generic RS232/RS422 Unit (bidirectional)"