Skip to content

Commit e53b666

Browse files
committed
Add Ethernet lib to workflow. Update GNSS lib version.
1 parent 133303b commit e53b666

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/compile-rtk-firmware.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ jobs:
7171
ArduinoJson@6.19.4
7272
pubsubclient@2.8.0
7373
ESP32_BleSerial@1.0.4
74-
"SparkFun u-blox GNSS v3"@3.0.7
74+
"SparkFun u-blox GNSS v3"@3.0.9
7575
"SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4
7676
"SparkFun LIS2DH12 Arduino Library"@1.0.3
7777
"ESP32-OTA-Pull"@1.0.0
78+
SparkFun_WebServer_ESP32_W5500@1.5.5
79+
Ethernet@2.0.2
7880

7981
- name: Enable external libs
8082
run: arduino-cli config set library.enable_unsafe_install true
@@ -91,6 +93,13 @@ jobs:
9193
# cd Firmware/RTK_Surveyor/Patch/
9294
# cp WiFiGeneric.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/WiFi/src/WiFiGeneric.cpp
9395

96+
#Patch Server.h to avoid https://github.com/arduino-libraries/Ethernet/issues/88#issuecomment-455498941
97+
#Note: this patch can be removed if/when we upgrade to ESP32 core >= v2.0.6
98+
- name: Patch ESP32 Server.h for Ethernet
99+
run: |
100+
cd Firmware/RTK_Surveyor/Patch/
101+
cp Server.h /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.2/cores/esp32/Server.h
102+
94103
- name: Compile Sketch
95104
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }} ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
96105
--build-property build.partitions=partitions

0 commit comments

Comments
 (0)