Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
445 commits
Select commit Hold shift + click to select a range
a18a91e
Changes:
PaulZC Jun 3, 2024
c61505b
Add ifeq ($(OS),Windows_NT)
PaulZC Jun 3, 2024
005b5e9
Update form.h via Python
github-actions[bot] Jun 3, 2024
6a34c2f
Update non-release-build.yml - use v99.99
PaulZC Jun 4, 2024
9d8c50f
Create non-release-build_v3.0.0.yml
PaulZC Jun 4, 2024
a729925
Update non-release-build_v3.0.0.yml
PaulZC Jun 4, 2024
c767e84
Add patch for v3.0.0
PaulZC Jun 4, 2024
0ed6414
Update form.h via Python
github-actions[bot] Jun 4, 2024
956c578
Add workflow yml CORE_VERSION
PaulZC Jun 4, 2024
1462d88
Merge branch 'arduino-esp32_v3.0.0' of https://github.com/sparkfun/Sp…
PaulZC Jun 4, 2024
5629f89
Update form.h via Python
github-actions[bot] Jun 4, 2024
e6bea60
Add non-release-build POINTPERFECT_LBAND_IP_TOKEN
PaulZC Jun 4, 2024
1da480a
Merge branch 'arduino-esp32_v3.0.0' of https://github.com/sparkfun/Sp…
PaulZC Jun 4, 2024
2106c23
Update form.h via Python
github-actions[bot] Jun 4, 2024
3febb13
workflow patch ESP32_BleSerial BLECharacteristic
PaulZC Jun 4, 2024
4310e25
Update form.h via Python
github-actions[bot] Jun 4, 2024
7b4f0d3
workflow : don't need external libs
PaulZC Jun 4, 2024
967c76b
workflow : change patch sed to cp
PaulZC Jun 4, 2024
b32d81a
Update makefile - include patches
PaulZC Jun 4, 2024
cae7269
Update form.h via Python
github-actions[bot] Jun 4, 2024
1593b44
Increase NETWORK_CONNECTION_TIMEOUT to 30s :
PaulZC Jun 4, 2024
d540d10
Merge branch 'arduino-esp32_v3.0.0' of https://github.com/sparkfun/Sp…
PaulZC Jun 4, 2024
94b188e
Update Patch\BleSerial.cpp - patch works on both 3.0.0 and older 2.0.…
PaulZC Jun 5, 2024
555e137
Updates for arduino-esp32 v3.0.1
PaulZC Jun 5, 2024
a4dcbc6
Update form.h via Python
github-actions[bot] Jun 5, 2024
825057b
Merge pull request #331 from LeeLeahy2/rtcm-corrections
nseidle Jun 7, 2024
6896848
Merge branch 'release_candidate' into arduino-esp32_v3.0.0
PaulZC Jun 11, 2024
1dd9dca
Add comments for ETH.begin
PaulZC Jun 11, 2024
8cdcc2b
Use ps_malloc for web socket ws_pkt
PaulZC Jun 11, 2024
7c67d4e
Prevent printDate / printDays from going out of scope
PaulZC Jun 11, 2024
3ecb0b8
Initialize pplRtcmBuffer
PaulZC Jun 11, 2024
19e53ca
Move WiFi connect timeout to Debug Software menu
PaulZC Jun 11, 2024
729ec8a
Move +++ info in docs\menu_ports
PaulZC Jun 11, 2024
f74cf94
Add menu helper message for GNSS-to-USB
PaulZC Jun 11, 2024
126e208
Update non-release-build workflow for v3.0.0
PaulZC Jun 11, 2024
768bff9
Update compile-trk-everywhere workflow for v3.0.1
PaulZC Jun 11, 2024
f088c1b
Merge pull request #327 from sparkfun/arduino-esp32_v3.0.0
nseidle Jun 11, 2024
0f4964b
Update form.h via Python
github-actions[bot] Jun 11, 2024
45aeb81
Update form.h via Python
github-actions[bot] Jun 11, 2024
a5e396b
Change ubxConstellation setting string to constellation - for EVK
PaulZC Jun 12, 2024
d87a545
Fix ubxMessageRate on web config
PaulZC Jun 12, 2024
c76e7a8
Remove undulation during tilt compensation
nseidle Jun 12, 2024
ec2eb0c
Update form.h via Python
github-actions[bot] Jun 12, 2024
72718d2
Merge branch 'release_candidate' into Web_Config_Changes_for_EVK
PaulZC Jun 13, 2024
04ef0e8
Select L-Band frequency based on position - if available
PaulZC Jun 13, 2024
91fb399
Correct coordinates type detection
PaulZC Jun 13, 2024
4cb2671
Add NTRIP Server Caster User and PW to menuBase
PaulZC Jun 13, 2024
a6bffbe
Check fixed base geodetic coordinates are same type
PaulZC Jun 13, 2024
bda7503
Correct getDouble - should have been getUserInputDouble
PaulZC Jun 13, 2024
8c2610a
Delete settings.enablePrintState
PaulZC Jun 13, 2024
be931d4
Cosmetic: correct ntripServerStop in Developer.ino
PaulZC Jun 13, 2024
2b5a3c7
Prevent NtripServer from disabling settings.enableNtripServer
PaulZC Jun 13, 2024
946fd44
Better NTRIP Client periodic printing
PaulZC Jun 13, 2024
fb5a536
Better NTRIP Server periodic printing
PaulZC Jun 13, 2024
a4ac2e8
Better debug printing by ntripServerProcessRTCM
PaulZC Jun 13, 2024
7c8549c
Merge pull request #337 from sparkfun/Web_Config_Changes_for_EVK
nseidle Jun 13, 2024
adf20f8
#StopVsRestart - correct NTRIP/MQTT/Client/Server stops
PaulZC Jun 13, 2024
9d56cd4
Don't delete mqttSecureClient - see below:
PaulZC Jun 13, 2024
8d2618f
Don't disable settings.enablePointPerfectCorrections when MQTT is don…
PaulZC Jun 13, 2024
c7dc480
Add comment about issue #335
PaulZC Jun 13, 2024
9cb2996
Merge branch 'release_candidate' into Changes_from_RTK_Firmware
PaulZC Jun 13, 2024
25b3bea
Merge pull request #338 from sparkfun/Changes_from_RTK_Firmware
nseidle Jun 13, 2024
15336dc
Fix upload partition size, reduce flash usage from 97% to 48%
LeeLeahy2 Jun 13, 2024
fefce5d
Merge pull request #341 from LeeLeahy2/partition-size
nseidle Jun 13, 2024
79e6cb8
Fix missing bracket in main.js. More updates to match RTK Firmware
PaulZC Jun 14, 2024
a9af60c
Switch RTKNetworkClient to use NetworkClient instead of Client
LeeLeahy2 Jun 11, 2024
d56d3d7
Add upload target to makefile
LeeLeahy2 Jun 11, 2024
44dcf6b
Switch from DynamicJsonDocument and StaticJsonDocument to JsonDocument
LeeLeahy2 Jun 13, 2024
e402edc
Merge pull request #344 from sparkfun/Changes_from_RTK_Firmware
nseidle Jun 14, 2024
ec9c721
Change NetworkEthernetClient & NetworkWiFiClient to RTKNetworkClientType
LeeLeahy2 Jun 14, 2024
4a16193
Merge pull request #340 from LeeLeahy2/no-dynamic
nseidle Jun 14, 2024
5721bee
Merge pull request #342 from LeeLeahy2/wifi
nseidle Jun 14, 2024
0d25566
Merge pull request #345 from LeeLeahy2/no-network-type-client
nseidle Jun 14, 2024
bcf37d5
Merge pull request #339 from LeeLeahy2/upload
nseidle Jun 14, 2024
cbd6066
MQTT now using NetworkClientSecure
LeeLeahy2 Jun 14, 2024
b2f5e99
WiFi: Clear and provision working using NetworkClientSecure
LeeLeahy2 Jun 16, 2024
d45bf08
Ethernet: Clear and provision working using NetworkClientSecure
LeeLeahy2 Jun 16, 2024
0283e3c
Add OTA support for Ethernet
LeeLeahy2 Jun 17, 2024
0f2a309
Increase SEMP library version
nseidle Jun 18, 2024
5bb1e55
Merge pull request #347 from LeeLeahy2/use-network-client-secure
nseidle Jun 18, 2024
610944a
Merge pull request #349 from LeeLeahy2/eth-clear-provision
nseidle Jun 18, 2024
b08bb9c
Merge pull request #350 from LeeLeahy2/auto-firmware-update
nseidle Jun 18, 2024
78b0996
Update makefile to use SEMP 1.0.1 and do conditional builds
LeeLeahy2 Jun 14, 2024
57b0f58
Merge pull request #346 from LeeLeahy2/makefile
nseidle Jun 18, 2024
c75a069
Adjust the correction priorities
Jun 19, 2024
56bf04e
Increase AP_CONFIG_SETTING_SIZE
PaulZC Jun 19, 2024
1dfecba
Prevent crash calling uninitialized NTRIP Server networkClient
PaulZC Jun 19, 2024
d07cebf
Merge pull request #352 from sparkfun/Fix-crash-in-ntripServerProcess…
nseidle Jun 19, 2024
fbb1805
Fix COMPILE_NETWORK
nseidle Jun 19, 2024
c8a3489
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Jun 19, 2024
fcaf7ca
Merge pull request #351 from LeeLeahy2/correction-priorities
nseidle Jun 19, 2024
3984306
Fix #354
PaulZC Jun 20, 2024
32bb703
Fix #355
PaulZC Jun 20, 2024
8c49438
Fix "IO 26 is not set as GPIO"
PaulZC Jun 20, 2024
a4d69ef
Fix #356
PaulZC Jun 20, 2024
954816e
Fix #358
PaulZC Jun 20, 2024
2494fe3
Fix #359
PaulZC Jun 20, 2024
57108fa
Move the command array (commandIndex) into PSRAM
PaulZC Jun 20, 2024
bb24444
Add comments about where stuff is freed
PaulZC Jun 20, 2024
3d96900
Initialize rbOffsetArray. Probably redundant?
PaulZC Jun 20, 2024
471f331
Prevent multiple allocs by mqttClientUpdate
PaulZC Jun 20, 2024
06adcee
Prevent memory leak in pointperfectTryZtpToken. Also:
PaulZC Jun 20, 2024
494cc24
Merge pull request #375 from sparkfun/Fix_#355
nseidle Jun 20, 2024
454a636
Merge pull request #378 from sparkfun/Fix_#359
nseidle Jun 20, 2024
36460b3
Merge pull request #377 from sparkfun/Fix_#358
nseidle Jun 20, 2024
06f6168
Merge pull request #374 from sparkfun/Fix_#354
nseidle Jun 20, 2024
87ca0fa
Limit accuracy reporting to 30.0m or 100.0ft
PaulZC Jun 22, 2024
d1bd93c
Bug Fix: NTRIP Server menu call getUserInputString with 50 instead of 0
Jun 23, 2024
0f94773
Merge pull request #376 from sparkfun/Fix_#356
nseidle Jun 24, 2024
285cd32
Update form.h via Python
github-actions[bot] Jun 24, 2024
4b2f781
Add setting
nseidle Jun 24, 2024
83989bb
Add pole length + ARP if tip altitude disabled during tilt
nseidle Jun 24, 2024
388670d
Merge pull request #383 from LeeLeahy2/getUserInputString
nseidle Jun 25, 2024
e9fac2b
Periodic display of MQTT client data
Jun 19, 2024
7044b47
Add getProfileCount()
nseidle Jun 25, 2024
049085b
Remove unused variable
nseidle Jun 25, 2024
cde5f22
Add networkGetBroadcastIpAddress and networkGetSubnetMask
LeeLeahy2 Jun 25, 2024
4838f75
Rename NetworkSecureWifiClient to RTKNetworkSecureClient
Jun 24, 2024
3dd85b5
Add networkGetBroadcastIpAddress and networkGetSubnetMask
LeeLeahy2 Jun 25, 2024
0a7ad7e
Compile successfully when comment out COMPILE_WIFI
LeeLeahy2 Jun 25, 2024
0f8d7ad
Force display update during menu display. Reduce double tap time.
nseidle Jun 25, 2024
7aa7836
Merge pull request #385 from LeeLeahy2/mqtt-periodic
nseidle Jun 25, 2024
3167521
Merge pull request #386 from LeeLeahy2/broadcast-ip-address
nseidle Jun 25, 2024
b24e775
Merge pull request #387 from LeeLeahy2/rtk-network-secure-client
nseidle Jun 25, 2024
e211c5e
Merge pull request #388 from LeeLeahy2/no-wifi-new
nseidle Jun 25, 2024
dfee191
Turn off ethernet icon until connected.
nseidle Jun 25, 2024
2906d68
Compile successfully when commenting out COMPILE_NETWORK
LeeLeahy2 Jun 26, 2024
82eade4
Patch libmbedtls to allow EXTERNAL memory use
PaulZC Jun 26, 2024
f22a93b
Update workflows
PaulZC Jun 26, 2024
1e8e482
Update non-release-build.yml
PaulZC Jun 26, 2024
67177bd
Update non-release-build.yml
PaulZC Jun 26, 2024
89aeb63
Update non-release-build.yml
PaulZC Jun 26, 2024
248573a
Update non-release-build.yml
PaulZC Jun 26, 2024
35f59e7
Update form.h via Python
github-actions[bot] Jun 26, 2024
fba06ff
Merge pull request #389 from LeeLeahy2/no-network
nseidle Jun 26, 2024
91e376c
Update compile-rtk-everywhere.yml
PaulZC Jun 26, 2024
93a71d8
Merge branch 'Fix_#362' of https://github.com/sparkfun/SparkFun_RTK_E…
PaulZC Jun 26, 2024
6b9bfe8
Use form.h from release_candidate
PaulZC Jun 26, 2024
98705da
Merge branch 'release_candidate' into Fix_#362
PaulZC Jun 26, 2024
5630c13
Remove duplicate mqttClientPrivateKeyBuffer from conflict
PaulZC Jun 26, 2024
bdb8820
Merge pull request #390 from sparkfun/Fix_#362
nseidle Jun 26, 2024
fd28a51
Update form.h via Python
github-actions[bot] Jun 26, 2024
03b83e2
Add carriage return to Ethernet message
LeeLeahy2 Jun 26, 2024
d0fa2ed
Fix warnings
nseidle Jun 26, 2024
df898f6
Discard first button press
nseidle Jun 26, 2024
dedd24a
Change Eth Config entry/exit displays
nseidle Jun 26, 2024
d0edcad
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Jun 26, 2024
5826242
Typo fix
nseidle Jun 26, 2024
61b5484
Merge pull request #391 from LeeLeahy2/comment
nseidle Jun 26, 2024
2923864
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Jun 26, 2024
040b3de
Explicitly set default network type
nseidle Jun 26, 2024
6c28421
Moving log_ds to debug setting
nseidle Jun 26, 2024
8ef7481
Rename key states to remove WiFi
nseidle Jun 26, 2024
56c100f
Allow firmware update checks over ethernet
nseidle Jun 26, 2024
43e741c
Pass all NMEA to compensator
nseidle Jun 26, 2024
1a8f351
Calculate altitude based on tilt mode and outputTipAltitude setting
nseidle Jun 26, 2024
6fa9a46
Add unit to antennHeight_mm. Rename ARP to antennaPhaseCenter_mm
nseidle Jun 26, 2024
25a5ece
Set APC if known
nseidle Jun 26, 2024
9de52b6
Whitespace change
nseidle Jun 26, 2024
9d38004
Add outputTipAltitude to menu
nseidle Jun 26, 2024
5fc762c
Typo fix
nseidle Jun 26, 2024
92d3f8e
Merge pull request #392 from sparkfun/AddTipAltitudeSetting
nseidle Jun 26, 2024
1084f98
Update form.h via Python
github-actions[bot] Jun 26, 2024
f0839bd
Correctly handle truncated floats
nseidle Jun 27, 2024
3eca339
Remove dead code. Typo fix.
nseidle Jun 27, 2024
f096db1
Work in progress - needs the ability to wait on Ethernet before attem…
PaulZC Jun 27, 2024
750ae59
Correct warning print. Fix typos. Reduce debug prints.
nseidle Jun 27, 2024
558bc83
Increase DDMM conversion to 8 decimals.
nseidle Jun 27, 2024
a83227b
Merge pull request #394 from sparkfun/AddTipAltitudeSetting
nseidle Jun 27, 2024
a755b31
Update form.h via Python
github-actions[bot] Jun 27, 2024
420f8a9
Set default antenna height
nseidle Jun 27, 2024
11079e3
Add overlength debug messages
nseidle Jun 27, 2024
da88ba5
Update form.h via Python
github-actions[bot] Jun 27, 2024
fa5688e
Add HTTP_Client for ZTP. Still WIP
PaulZC Jun 28, 2024
1758f49
MQTT Client: Silence the MQTT Client start message
LeeLeahy2 Jun 26, 2024
0aa54ff
Finish implementing MQTT backoff by using the timer already started
LeeLeahy2 Jun 28, 2024
3db3ce1
Firmware menu now does OTA over Ethernet
LeeLeahy2 Jun 28, 2024
e25ad23
Whitespace change
nseidle Jun 28, 2024
2da26f2
Remove APC and AH from Base, moved to Instrument Config
nseidle Jun 28, 2024
6b047be
Update Instrument Config menu
nseidle Jun 28, 2024
275c954
Merge pull request #396 from LeeLeahy2/mqtt-backoff
nseidle Jun 28, 2024
8757060
Merge pull request #397 from LeeLeahy2/mqtt-quiet-start
nseidle Jun 28, 2024
b9b8c2f
Merge pull request #398 from LeeLeahy2/ethernet-firmware
nseidle Jun 28, 2024
aeac865
Fix HTML formatting for instrument settings
nseidle Jun 28, 2024
f76b67d
Handle antennaHeight in m
nseidle Jun 28, 2024
7590ed0
Merge pull request #399 from sparkfun/APTiltSettingsAdd
nseidle Jun 28, 2024
4d01227
Update the makefile to replace the ESP32 MBED libraries
LeeLeahy2 Jun 29, 2024
c2e64ed
Merge branch 'release_candidate' into Fix_#363
PaulZC Jul 1, 2024
29605c2
Add timer to HTTP_CLIENT_ON, same as MQTT_CLIENT_ON
PaulZC Jul 1, 2024
3704b8a
MQTT_Client changes:
PaulZC Jul 1, 2024
c9040d9
Update form.h
PaulZC Jul 1, 2024
214cb27
Perform key attempt after 60s if ENABLE_DEVELOPER
PaulZC Jul 1, 2024
fa15faf
Call httpClientRestart, not httpClientShutdown, to allow retry after …
PaulZC Jul 1, 2024
c4de734
Ditto
PaulZC Jul 1, 2024
e4e021b
Working:
PaulZC Jul 2, 2024
906d6b6
Remove obsolete code
PaulZC Jul 2, 2024
18a1503
Add state and menu option to set forceKeyAttempt true
PaulZC Jul 2, 2024
519a84d
Clean up the forceKeyAttempt menu logic
PaulZC Jul 2, 2024
012b512
Update form.h from release_candidate
PaulZC Jul 2, 2024
257f6cd
Merge pull request #400 from LeeLeahy2/makefile
nseidle Jul 2, 2024
74b35ca
TCP Server: Update to work over Ethernet
LeeLeahy2 Jul 2, 2024
b75f937
Revamp MQTT_Client. Add localised distribution
PaulZC Jul 3, 2024
e09e37e
Merge pull request #402 from LeeLeahy2/tcp-server
nseidle Jul 3, 2024
d95eefe
Merge pull request #401 from sparkfun/Fix_#363
nseidle Jul 3, 2024
b2af920
Merge branch 'release_candidate' into Fix_#144_#150
PaulZC Jul 4, 2024
55daec6
Add support for AssistNow
PaulZC Jul 4, 2024
157b9d5
Add web config support for localised distribution and AssistNow
PaulZC Jul 4, 2024
b4aca7c
Fix duplicate form field
PaulZC Jul 4, 2024
92ed632
Change localised to localized
PaulZC Jul 4, 2024
b7c0d96
Disable ENABLE_DEVELOPER 15min key attempt
PaulZC Jul 4, 2024
01e3005
forceKeyAttempt becomes settings.requestKeyUpdate. Add to web config
PaulZC Jul 4, 2024
71edfed
Go from STATE_NTPSERVER_SYNC to STATE_NTPSERVER_NO_SYNC
PaulZC Jul 4, 2024
2ea71d4
Delete W5500.ino
PaulZC Jul 4, 2024
1d0d3f5
Record the NTP request arrival time - without interrupts
PaulZC Jul 4, 2024
e966b80
Nicer IP Address display
PaulZC Jul 5, 2024
23a471c
Nicer debug
PaulZC Jul 5, 2024
687b9f3
NTP working
PaulZC Jul 5, 2024
e88b483
Better NTP debug
PaulZC Jul 5, 2024
9a7dbc6
No loop delay in NTP mode
PaulZC Jul 5, 2024
e220fa3
Delete ethernetISR
PaulZC Jul 5, 2024
68cffd0
Add PD_'s for UDP Server
PaulZC Jul 5, 2024
ba4071a
Fix WiFi dependency in UdpServer
PaulZC Jul 5, 2024
4b681c9
Create Tools\UDP_Client.py
PaulZC Jul 5, 2024
5d42efb
Add displayFullIPAddress
PaulZC Jul 6, 2024
7df1520
Create TCP_Client.py
PaulZC Jul 6, 2024
f6d8441
Fix TcpServer WiFi dependency
PaulZC Jul 6, 2024
fe64b48
Create TCP_Server.py
PaulZC Jul 6, 2024
d93d2b0
Increase provisioningTimeout to 2 mins. Maybe it should be even longer?
PaulZC Jul 6, 2024
988ca7c
Update mqttClientLastDataReceived when the connection is made
PaulZC Jul 6, 2024
b8390b1
Allow EVK to have zero WiFi count for firmware update
PaulZC Jul 6, 2024
798c387
Change WiFi to network on web config firmware update
PaulZC Jul 6, 2024
3fd8fa5
Fix error in networkGetActiveType - resolves #370
PaulZC Jul 7, 2024
38aa82f
Match otaUpdate to otaCheckVersion
PaulZC Jul 7, 2024
579fc3b
Only exit wifiConnect early when connected && AP_STA mode is not needed
PaulZC Jul 7, 2024
0221705
Update UDP_Client.py
PaulZC Jul 8, 2024
a6f0ea2
Use latin1 decoding
PaulZC Jul 8, 2024
e2cec32
Better corrections debugging
PaulZC Jul 8, 2024
6bd8ec8
Merge pull request #403 from sparkfun/Fix_#144_#150
nseidle Jul 8, 2024
a50c4b5
Merge pull request #404 from sparkfun/NTP_Updates
nseidle Jul 8, 2024
e862e56
Merge pull request #405 from sparkfun/UDP_Improvements
nseidle Jul 8, 2024
021f8b7
Merge pull request #408 from sparkfun/TCP_Updates
nseidle Jul 8, 2024
b9d225c
Merge pull request #410 from sparkfun/EVK_Web_Config
nseidle Jul 8, 2024
3828134
Merge pull request #411 from sparkfun/Fix_#370
nseidle Jul 8, 2024
c1bcc43
Merge pull request #412 from sparkfun/Fix_flaw_in_wifiConnect
nseidle Jul 8, 2024
92f0692
Update form.h via Python
github-actions[bot] Jul 8, 2024
f812e29
Add BluetoothSerial Library from v3.0.1 core
nseidle Jul 8, 2024
f5b4c64
Pass rx/tx buffer size to BluetoothSerial library
nseidle Jul 8, 2024
cd0b1d1
Merge pull request #417 from sparkfun/BringBackBluetoothSerialLibrary
nseidle Jul 8, 2024
f42a557
Update form.h via Python
github-actions[bot] Jul 8, 2024
50fcb2a
Merge branch 'main' into release_candidate
nseidle Jul 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 27 additions & 16 deletions .github/workflows/compile-rtk-everywhere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:
env:
FILENAME_PREFIX: RTK_Everywhere_Firmware
FIRMWARE_VERSION_MAJOR: 1
FIRMWARE_VERSION_MINOR: 2
FIRMWARE_VERSION_MINOR: 3
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
POINTPERFECT_LBAND_IP_TOKEN: ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
CORE_VERSION: 3.0.1

jobs:
build:
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
uses: arduino/setup-arduino-cli@v1

- name: Start config file
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json"

- name: Update core index
run: arduino-cli core update-index
Expand All @@ -65,39 +66,49 @@ jobs:
run: arduino-cli lib update-index

- name: Install platform
run: arduino-cli core install esp32:esp32@2.0.11
run: arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}

- name: Get IDF version
run: |
cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
IDF_VERSION=$(ls | grep idf-release)
echo "ESP_IDF=${IDF_VERSION}" >> "$GITHUB_ENV"

- name: Get Known Libraries
run: arduino-cli lib install
ArduinoJson@6.19.4
ArduinoJson@7.0.4
ESP32Time@2.0.0
ESP32_BleSerial@1.0.4
"ESP32-OTA-Pull"@1.0.0
Ethernet@2.0.2
JC_Button@2.1.2
PubSubClient@2.8.0
"SdFat"@2.1.1
"SparkFun LIS2DH12 Arduino Library"@1.0.3
"SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4
"SparkFun u-blox GNSS v3"@3.1.5
SparkFun_WebServer_ESP32_W5500@1.5.5
"SparkFun Qwiic OLED Arduino Library"@1.0.13
SSLClientESP32@2.0.0
"SparkFun Extensible Message Parser"@1.0.0
"SparkFun Extensible Message Parser"@1.0.1
"SparkFun BQ40Z50 Battery Manager Arduino Library"@1.0.0
"ArduinoMqttClient"@0.1.8
"SparkFun u-blox PointPerfect Library"@1.11.4
"SparkFun IM19 IMU Arduino Library"@1.0.1
"SparkFun UM980 Triband RTK GNSS Arduino Library"@1.0.4

- name: Enable external libs
run: arduino-cli config set library.enable_unsafe_install true
# https://github.com/avinabmalla/ESP32_BleSerial/issues/15
- name: Patch ESP32_BleSerial BLECharacteristic
run: |
cd Firmware/RTK_Everywhere/Patch/
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp

- name: Patch libmbedtls
run: |
cd Firmware/RTK_Everywhere/Patch/
cp libmbedtls.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls.a
cp libmbedtls_2.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls_2.a
cp libmbedcrypto.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedcrypto.a
cp libmbedx509.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedx509.a

- name: Get Libraries
run: arduino-cli lib install --git-url
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/me-no-dev/AsyncTCP.git

- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -128,13 +139,13 @@ jobs:

- name: Copy custom RTKEverywhere.csv
run:
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/partitions/RTKEverywhere.csv
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/tools/partitions/RTKEverywhere.csv

- name: Compile Sketch
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino
--build-property build.partitions=RTKEverywhere
--build-property upload.maximum_size=3145728
--build-property "compiler.cpp.extra_flags=\"-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 }}\""
--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 }}\""
--export-binaries

- name: Rename binary
Expand Down
54 changes: 30 additions & 24 deletions .github/workflows/non-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
FIRMWARE_VERSION_MINOR: 99
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
POINTPERFECT_LBAND_IP_TOKEN: ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
CORE_VERSION: 3.0.1

jobs:
build:
Expand Down Expand Up @@ -55,7 +57,7 @@ jobs:
uses: arduino/setup-arduino-cli@v1

- name: Start config file
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json"

- name: Update core index
run: arduino-cli core update-index
Expand All @@ -64,44 +66,48 @@ jobs:
run: arduino-cli lib update-index

- name: Install platform
run: arduino-cli core install esp32:esp32@2.0.11
run: arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}

- name: Get IDF version
run: |
cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
IDF_VERSION=$(ls | grep idf-release)
echo "ESP_IDF=${IDF_VERSION}" >> "$GITHUB_ENV"

- name: Get Known Libraries
run: arduino-cli lib install
ArduinoJson@6.19.4
ArduinoJson@7.0.4
ESP32Time@2.0.0
ESP32_BleSerial@1.0.4
"ESP32-OTA-Pull"@1.0.0
Ethernet@2.0.2
JC_Button@2.1.2
PubSubClient@2.8.0
"SdFat"@2.1.1
"SparkFun LIS2DH12 Arduino Library"@1.0.3
"SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4
"SparkFun u-blox GNSS v3"@3.1.4
SparkFun_WebServer_ESP32_W5500@1.5.5
"SparkFun u-blox GNSS v3"@3.1.5
"SparkFun Qwiic OLED Arduino Library"@1.0.13
SSLClientESP32@2.0.0
"SparkFun Extensible Message Parser"@1.0.0
"SparkFun BQ40Z50 Battery Manager Arduino Library"@1.0.0
"ArduinoMqttClient"@0.1.8
"SparkFun u-blox PointPerfect Library"@1.11.4
"SparkFun IM19 IMU Arduino Library"@1.0.1
"SparkFun UM980 Triband RTK GNSS Arduino Library"@1.0.4

- name: Enable external libs
run: arduino-cli config set library.enable_unsafe_install true

- name: Get Libraries
run: arduino-cli lib install --git-url
https://${{ secrets.GET_PRIVATE_PPL_LIBRARY }}@github.com/sparkfun/SparkFun_u-blox_PointPerfect_Library.git
https://${{ secrets.GET_PRIVATE_IM19_LIBRARY }}@github.com/sparkfun/SparkFun_IM19_IMU_Arduino_Library.git
https://github.com/sparkfun/SparkFun_Unicore_GNSS_Arduino_Library.git
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/me-no-dev/AsyncTCP.git

#Incorporate ESP-Now patch into core: https://github.com/espressif/arduino-esp32/pull/7044/files
#- name: Patch ESP32 Core
# run: |
# cd Firmware/RTK_Everywhere/Patch/
# cp WiFiGeneric.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/WiFi/src/WiFiGeneric.cpp
# https://github.com/avinabmalla/ESP32_BleSerial/issues/15
- name: Patch ESP32_BleSerial BLECharacteristic
run: |
cd Firmware/RTK_Everywhere/Patch/
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp

- name: Patch libmbedtls
run: |
cd Firmware/RTK_Everywhere/Patch/
cp libmbedtls.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls.a
cp libmbedtls_2.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls_2.a
cp libmbedcrypto.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedcrypto.a
cp libmbedx509.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedx509.a

- name: Setup Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -133,13 +139,13 @@ jobs:

- name: Copy custom RTKEverywhere.csv
run:
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/partitions/RTKEverywhere.csv
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/tools/partitions/RTKEverywhere.csv

- name: Compile Sketch
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino
--build-property build.partitions=RTKEverywhere
--build-property upload.maximum_size=3145728
--build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_LBAND_TOKEN=$POINTPERFECT_LBAND_TOKEN\" \"-DPOINTPERFECT_IP_TOKEN=$POINTPERFECT_IP_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
--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 }}\""
--export-binaries

- name: Create artifact name
Expand Down
Loading