File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,15 @@ if [ -d "out" ]; then
25
25
git clone https://github.com/espressif/arduino-esp32 -b release/v1.0
26
26
rm -rf arduino-esp32/tools/sdk
27
27
rm -rf arduino-esp32/docs
28
+ rm -rf arduino-esp32/tools/esptool.py
29
+ rm -rf arduino-esp32/tools/gen_esp32part.py
30
+ rm -rf arduino-esp32/tools/platformio-build.py
31
+ rm -rf arduino-esp32/platform.txt
28
32
cp -Rf tools/sdk arduino-esp32/tools/sdk
33
+ cp -Rf tools/esptool.py arduino-esp32/tools/esptool.py
34
+ cp -Rf tools/gen_esp32part.py arduino-esp32/tools/gen_esp32part.py
35
+ cp -Rf tools/platformio-build.py arduino-esp32/tools/platformio-build.py
36
+ cp -Rf platform.txt arduino-esp32/platform.txt
29
37
cp ../core_version.h arduino-esp32/cores/esp32/core_version.h
30
38
mv arduino-esp32/ framework-arduinoespressif32/
31
39
tar --exclude=.* -zcf ../$pio_archive_path framework-arduinoespressif32/
Original file line number Diff line number Diff line change 2
2
3
3
IDF_COMPS=" $IDF_PATH /components"
4
4
IDF_TOOLCHAIN=" xtensa-esp32-elf"
5
- IDF_TOOLCHAIN_LINUX_ARMEL=" https://dl.espressif. com/dl /xtensa-esp32-elf-linux-armel-1.22.0-97-gc752ad5-5.2.0.tar.gz"
6
- IDF_TOOLCHAIN_LINUX32=" https://dl.espressif. com/dl /xtensa-esp32-elf-linux32-1.22.0-97-gc752ad5-5.2.0.tar.gz"
7
- IDF_TOOLCHAIN_LINUX64=" https://dl.espressif. com/dl /xtensa-esp32-elf-linux64-1.22.0-97-gc752ad5-5.2.0.tar.gz"
8
- IDF_TOOLCHAIN_WIN32=" https://dl.espressif. com/dl /xtensa-esp32-elf-win32-1.22.0-97-gc752ad5-5.2.0.zip"
9
- IDF_TOOLCHAIN_MACOS=" https://dl.espressif. com/dl /xtensa-esp32-elf-macos-1.22.0-97-gc752ad5-5.2.0.tar.gz"
5
+ IDF_TOOLCHAIN_LINUX_ARMEL=" https://github. com/espressif/arduino-esp32/releases/download/1.0.5-rc5 /xtensa-esp32-elf-linux-armel-1.22.0-97-gc752ad5-5.2.0.tar.gz"
6
+ IDF_TOOLCHAIN_LINUX32=" https://github. com/espressif/arduino-esp32/releases/download/1.0.5-rc5 /xtensa-esp32-elf-linux32-1.22.0-97-gc752ad5-5.2.0.tar.gz"
7
+ IDF_TOOLCHAIN_LINUX64=" https://github. com/espressif/arduino-esp32/releases/download/1.0.5-rc5 /xtensa-esp32-elf-linux64-1.22.0-97-gc752ad5-5.2.0.tar.gz"
8
+ IDF_TOOLCHAIN_WIN32=" https://github. com/espressif/arduino-esp32/releases/download/1.0.5-rc5 /xtensa-esp32-elf-win32-1.22.0-97-gc752ad5-5.2.0.zip"
9
+ IDF_TOOLCHAIN_MACOS=" https://github. com/espressif/arduino-esp32/releases/download/1.0.5-rc5 /xtensa-esp32-elf-macos-1.22.0-97-gc752ad5-5.2.0.tar.gz"
10
10
11
11
if [ -z $IDF_BRANCH ]; then
12
12
IDF_BRANCH=" release/v3.3"
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ if ! [ -x "$(command -v $IDF_TOOLCHAIN-gcc)" ]; then
128
128
exit 1
129
129
fi
130
130
echo " Downloading $TC_LINK "
131
- curl -k -o $IDF_TOOLCHAIN .$TC_EXT $TC_LINK || exit 1
131
+ curl -Lk -o $IDF_TOOLCHAIN .$TC_EXT $TC_LINK || exit 1
132
132
fi
133
133
if [[ " $AR_OS " == " win32" ]]; then
134
134
unzip $IDF_TOOLCHAIN .$TC_EXT || exit 1
You can’t perform that action at this time.
0 commit comments