Skip to content

Commit db59b33

Browse files
committed
Compile with v2.0.4 ESP32 core. Add ESP-Now multi-peer patch
1 parent cd683bf commit db59b33

File tree

3 files changed

+1500
-4
lines changed

3 files changed

+1500
-4
lines changed

.github/workflows/compile-rc.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- name: Setup Arduino CLI
2323
uses: arduino/setup-arduino-cli@v1
2424

25-
#We limit the ESP32 core to v2.0.2
25+
#We limit the ESP32 core to v2.0.4
2626
- name: Install platform
27-
run: arduino-cli core install esp32:[email protected].2
27+
run: arduino-cli core install esp32:[email protected].4
2828
--additional-urls 'https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json'
2929

3030
- name: Start config file
@@ -48,6 +48,12 @@ jobs:
4848
https://github.com/knolleary/pubsubclient.git
4949
https://github.com/avinabmalla/ESP32_BleSerial.git
5050

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
56+
5157
- name: Compile Sketch
5258
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=debug ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
5359
--build-property build.partitions=partitions

.github/workflows/compile-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: Setup Arduino CLI
2222
uses: arduino/setup-arduino-cli@v1
2323

24-
#We limit the ESP32 core to v2.0.2
24+
#We limit the ESP32 core to v2.0.4
2525
- name: Install platform
26-
run: arduino-cli core install esp32:[email protected].2
26+
run: arduino-cli core install esp32:[email protected].4
2727
--additional-urls 'https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json'
2828

2929
- name: Start config file
@@ -47,6 +47,12 @@ jobs:
4747
https://github.com/knolleary/pubsubclient.git
4848
https://github.com/avinabmalla/ESP32_BleSerial.git
4949

50+
#Incorporate ESP-Now patch into core: https://github.com/espressif/arduino-esp32/pull/7044/files
51+
- name: Patch ESP32 Core
52+
run: |
53+
cd Firmware/RTK_Surveyor/Patch/
54+
cp WiFiGeneric.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/WiFi/src/WiFiGeneric.cpp
55+
5056
- name: Compile Sketch
5157
run: arduino-cli compile --fqbn esp32:esp32:esp32 ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
5258
--build-property build.partitions=partitions

0 commit comments

Comments
 (0)