File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 68
68
- name : Install platform
69
69
run : arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
70
70
71
- -name : Get IDF version
71
+ - name : Get IDF version
72
72
run : |
73
73
cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
74
74
$IDF_VERSION = echo "$(ls | grep idf-release)"
Original file line number Diff line number Diff line change 68
68
- name : Install platform
69
69
run : arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
70
70
71
+ - name : Get IDF version
72
+ run : |
73
+ cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
74
+ $IDF_VERSION = echo "$(ls | grep idf-release)"
75
+ echo "ESP_IDF=${IDF_VERSION}" >> "$GITHUB_ENV"
76
+
71
77
- name : Get Known Libraries
72
78
run : arduino-cli lib install
73
79
@@ -95,6 +101,14 @@ jobs:
95
101
cd Firmware/RTK_Everywhere/Patch/
96
102
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp
97
103
104
+ - name : Patch libmbedtls
105
+ run : |
106
+ cd Firmware/RTK_Everywhere/Patch/
107
+ cp libmbedtls.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls.a
108
+ cp libmbedtls_2.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls_2.a
109
+ cp libmbedcrypto.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedcrypto.a
110
+ cp libmbedx509.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedx509.a
111
+
98
112
- name : Setup Python
99
113
uses : actions/setup-python@v4
100
114
with :
You can’t perform that action at this time.
0 commit comments