Skip to content

Commit 6fd4a20

Browse files
authored
Merge pull request #557 from sparkfun/release_candidate
Fix webconfig when PointPerfect is enabled
2 parents 5f7a57c + 26a9753 commit 6fd4a20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+10101
-5182
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
env:
77
FILENAME_PREFIX: RTK_Everywhere_Firmware
88
FIRMWARE_VERSION_MAJOR: 2
9-
FIRMWARE_VERSION_MINOR: 0
9+
FIRMWARE_VERSION_MINOR: 1
1010
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
1111
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
1212
POINTPERFECT_LBAND_IP_TOKEN: ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
@@ -94,7 +94,7 @@ jobs:
9494
"SparkFun u-blox PointPerfect Library"@1.11.4
9595
"SparkFun IM19 IMU Arduino Library"@1.0.1
9696
"SparkFun UM980 Triband RTK GNSS Arduino Library"@1.0.4
97-
"SparkFun LG290P Quadband RTK GNSS Arduino Library"@1.0.0
97+
"SparkFun LG290P Quadband RTK GNSS Arduino Library"@1.0.2
9898
"SparkFun I2C Expander Arduino Library"@1.0.1
9999

100100
- name: Patch libmbedtls
@@ -140,6 +140,10 @@ jobs:
140140

141141
- name: Copy custom RTKEverywhere.csv
142142
run:
143+
# Compile the source using the 16MB partition file. Other platforms (ie, the 8MB Postcard) use
144+
# the same binary but use a different partition binary during the upload phase.
145+
# View the different RTK partition files used during upload here:
146+
# https://github.com/sparkfun/SparkFun_RTK_Firmware_Uploader/tree/main/RTK_Firmware_Uploader/resource
143147
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/tools/partitions/RTKEverywhere.csv
144148

145149
- name: Compile Sketch

.github/workflows/non-release-build.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
1111
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
1212
POINTPERFECT_LBAND_IP_TOKEN: ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
13-
CORE_VERSION: 3.0.1
13+
CORE_VERSION: 3.0.7
1414

1515
jobs:
1616
build:
@@ -78,7 +78,7 @@ jobs:
7878
run: arduino-cli lib install
7979
8080
81-
ESP32_BleSerial@1.0.4
81+
ESP32_BleSerial@2.0.1
8282
"ESP32-OTA-Pull"@1.0.0
8383
8484
@@ -88,18 +88,14 @@ jobs:
8888
"SparkFun u-blox GNSS v3"@3.1.8
8989
"SparkFun Qwiic OLED Arduino Library"@1.0.13
9090
91-
"SparkFun Extensible Message Parser"@1.0.0
91+
"SparkFun Extensible Message Parser"@1.0.2
9292
"SparkFun BQ40Z50 Battery Manager Arduino Library"@1.0.0
9393
"ArduinoMqttClient"@0.1.8
9494
"SparkFun u-blox PointPerfect Library"@1.11.4
9595
"SparkFun IM19 IMU Arduino Library"@1.0.1
9696
"SparkFun UM980 Triband RTK GNSS Arduino Library"@1.0.4
97-
98-
# https://github.com/avinabmalla/ESP32_BleSerial/issues/15
99-
- name: Patch ESP32_BleSerial BLECharacteristic
100-
run: |
101-
cd Firmware/RTK_Everywhere/Patch/
102-
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp
97+
"SparkFun LG290P Quadband RTK GNSS Arduino Library"@1.0.0
98+
"SparkFun I2C Expander Arduino Library"@1.0.1
10399

104100
- name: Patch libmbedtls
105101
run: |
@@ -109,6 +105,11 @@ jobs:
109105
cp libmbedcrypto.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedcrypto.a
110106
cp libmbedx509.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedx509.a
111107
108+
- name: Patch NetworkEvents
109+
run: |
110+
cd Firmware/RTK_Everywhere/Patch/
111+
cp NetworkEvents.* /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/libraries/Network/src/
112+
112113
- name: Setup Python
113114
uses: actions/setup-python@v4
114115
with:
@@ -139,12 +140,13 @@ jobs:
139140

140141
- name: Copy custom RTKEverywhere.csv
141142
run:
143+
# Use the 16MB partitions by default. 8MB (Postcard) partitions must be compiled separately
142144
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/tools/partitions/RTKEverywhere.csv
143145

144146
- name: Compile Sketch
145147
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino
146148
--build-property build.partitions=RTKEverywhere
147-
--build-property upload.maximum_size=3145728
149+
--build-property upload.maximum_size=4055040
148150
--build-property "compiler.cpp.extra_flags=-MMD -c \"-DPOINTPERFECT_LBAND_TOKEN=$POINTPERFECT_LBAND_TOKEN\" \"-DPOINTPERFECT_IP_TOKEN=$POINTPERFECT_IP_TOKEN\" \"-DPOINTPERFECT_LBAND_IP_TOKEN=$POINTPERFECT_LBAND_IP_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
149151
--export-binaries
150152

0 commit comments

Comments
 (0)