File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 39
39
print ('Tool Size : {0}.' .format (args .tool_size ))
40
40
print ('Tool SHA256 : {0}.' .format (args .tool_sha ))
41
41
42
- idf_path = args .idf_path ;
43
42
arduino_json = args .arduino_json ;
44
43
tool_name = args .tool_name ;
45
44
tool_version = args .tool_version ;
Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
108
108
exit 1
109
109
fi
110
110
IDF_LIBS_COMMIT=` git rev-parse --verify HEAD`
111
- IDF_LIBS_DL_URL=" https://github.com/espressif/esp32-arduino-libs/archive /$IDF_LIBS_COMMIT .zip "
111
+ IDF_LIBS_DL_URL=" https://codeload. github.com/espressif/esp32-arduino-libs/zip /$IDF_LIBS_COMMIT "
112
112
# ToDo: this URL needs to get into Arduino's package.json
113
113
114
114
# Download the file
115
115
filename=" esp32-arduino-libs-$IDF_LIBS_COMMIT .zip"
116
- curl -s -O " $IDF_LIBS_DL_URL "
116
+ curl -s -o " $filename " " $IDF_LIBS_DL_URL "
117
117
118
118
# Check if the download was successful
119
119
if [ $? -ne 0 ]; then
@@ -150,10 +150,6 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
150
150
fi
151
151
fi
152
152
153
- # https://github.com/espressif/esp32-arduino-libs/archive/refs/heads/[branch].zip
154
- # https://github.com/espressif/esp32-arduino-libs/archive/refs/tags/[tag].zip
155
- # https://github.com/espressif/esp32-arduino-libs/archive/[commit_hash].zip
156
-
157
153
if [ $AR_HAS_COMMIT == " 0" ]; then
158
154
cd " $AR_ROOT "
159
155
# create or checkout the branch
You can’t perform that action at this time.
0 commit comments