10
10
POINTPERFECT_LBAND_TOKEN : ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
11
11
POINTPERFECT_IP_TOKEN : ${{ secrets.POINTPERFECT_IP_TOKEN }}
12
12
POINTPERFECT_LBAND_IP_TOKEN : ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
13
+ CORE_VERSION : 3.0.1
13
14
14
15
jobs :
15
16
build :
56
57
uses : arduino/setup-arduino-cli@v1
57
58
58
59
- name : Start config file
59
- run : arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
60
+ 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 "
60
61
61
62
- name : Update core index
62
63
run : arduino-cli core update-index
@@ -65,22 +66,20 @@ jobs:
65
66
run : arduino-cli lib update-index
66
67
67
68
- name : Install platform
68
- run : arduino-cli core install esp32:esp32@2.0.11
69
+ run : arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
69
70
70
71
- name : Get Known Libraries
71
72
run : arduino-cli lib install
72
73
73
74
74
75
75
76
" ESP32-OTA-Pull" @1.0.0
76
-
77
77
78
78
79
79
" SdFat" @2.1.1
80
80
" SparkFun LIS2DH12 Arduino Library" @1.0.3
81
81
" SparkFun MAX1704x Fuel Gauge Arduino Library" @1.0.4
82
82
" SparkFun u-blox GNSS v3" @3.1.5
83
-
84
83
" SparkFun Qwiic OLED Arduino Library" @1.0.13
85
84
86
85
" SparkFun Extensible Message Parser" @1.0.0
@@ -90,14 +89,12 @@ jobs:
90
89
" SparkFun IM19 IMU Arduino Library" @1.0.1
91
90
" SparkFun UM980 Triband RTK GNSS Arduino Library" @1.0.4
92
91
93
- - name : Enable external libs
94
- run : arduino-cli config set library.enable_unsafe_install true
92
+ # https://github.com/avinabmalla/ESP32_BleSerial/issues/15
93
+ - name : Patch ESP32_BleSerial BLECharacteristic
94
+ run : |
95
+ cd Firmware/RTK_Everywhere/Patch/
96
+ cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp
95
97
96
- - name : Get Libraries
97
- run : arduino-cli lib install --git-url
98
- https://github.com/me-no-dev/ESPAsyncWebServer.git
99
- https://github.com/me-no-dev/AsyncTCP.git
100
-
101
98
- name : Setup Python
102
99
uses : actions/setup-python@v4
103
100
with :
@@ -128,13 +125,13 @@ jobs:
128
125
129
126
- name : Copy custom RTKEverywhere.csv
130
127
run :
131
- cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.11 /tools/partitions/RTKEverywhere.csv
128
+ cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }} /tools/partitions/RTKEverywhere.csv
132
129
133
130
- name : Compile Sketch
134
131
run : arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino
135
132
--build-property build.partitions=RTKEverywhere
136
133
--build-property upload.maximum_size=3145728
137
- --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 }}\""
134
+ --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 }}\""
138
135
--export-binaries
139
136
140
137
- name : Rename binary
0 commit comments