@@ -22,13 +22,15 @@ jobs:
22
22
- name : Setup Arduino CLI
23
23
uses : arduino/setup-arduino-cli@v1
24
24
25
- # We limit the ESP32 core to v2.0.2. See: https://github.com/sparkfun/SparkFun_RTK_Firmware/issues/334
25
+ - name : Start config file
26
+ run : arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
27
+
28
+ - name : Update index
29
+ run : arduino-cli core update-index
30
+
31
+ # We limit the ESP32 core to v2.0.2
26
32
- name : Install platform
27
33
run :
arduino-cli core install esp32:[email protected]
28
- --additional-urls 'https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json'
29
-
30
- - name : Start config file
31
- run : arduino-cli config init
32
34
33
35
- name : Enable external libs
34
36
run : arduino-cli config set library.enable_unsafe_install true
@@ -48,11 +50,11 @@ jobs:
48
50
https://github.com/knolleary/pubsubclient.git
49
51
https://github.com/avinabmalla/ESP32_BleSerial.git
50
52
51
- # Incorporate ESP-Now patch into core: https://github.com/espressif/arduino-esp32/pull/7044/files
52
- - name : Patch ESP32 Core
53
- run : |
54
- cd Firmware/RTK_Surveyor/Patch/
55
- cp WiFiGeneric.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/WiFi/src/WiFiGeneric.cpp
53
+ # Incorporate ESP-Now patch into v2.0.4 core: https://github.com/espressif/arduino-esp32/pull/7044/files
54
+ # - name: Patch ESP32 Core
55
+ # run: |
56
+ # cd Firmware/RTK_Surveyor/Patch/
57
+ # cp WiFiGeneric.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/WiFi/src/WiFiGeneric.cpp
56
58
57
59
- name : Compile Sketch
58
60
run : arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=debug ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
63
65
64
66
- name : Get current date
65
67
id : date
66
- run : echo "::set-output name= date:: $(date +'%b_%d_%Y')"
68
+ run : echo "date= $(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
67
69
68
70
- name : Rename binary
69
71
run : |
0 commit comments