kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'feature/toolchain_update' into 'master'
toolchain: update to 1.22.0-75-gbaf03c2 See merge request !1577pull/1127/merge
commit
2f62a62d28
|
@ -28,17 +28,17 @@ ESP32 toolchain for Linux is available for download from Espressif website:
|
||||||
|
|
||||||
- for 64-bit Linux:
|
- for 64-bit Linux:
|
||||||
|
|
||||||
https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-73-ge28a011-5.2.0.tar.gz
|
https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-75-gbaf03c2-5.2.0.tar.gz
|
||||||
|
|
||||||
- for 32-bit Linux:
|
- for 32-bit Linux:
|
||||||
|
|
||||||
https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-73-ge28a011-5.2.0.tar.gz
|
https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-75-gbaf03c2-5.2.0.tar.gz
|
||||||
|
|
||||||
1. Download this file, then extract it in ``~/esp`` directory::
|
1. Download this file, then extract it in ``~/esp`` directory::
|
||||||
|
|
||||||
mkdir -p ~/esp
|
mkdir -p ~/esp
|
||||||
cd ~/esp
|
cd ~/esp
|
||||||
tar -xzf ~/Downloads/xtensa-esp32-elf-linux64-1.22.0-73-ge28a011-5.2.0.tar.gz
|
tar -xzf ~/Downloads/xtensa-esp32-elf-linux64-1.22.0-75-gbaf03c2-5.2.0.tar.gz
|
||||||
|
|
||||||
.. _setup-linux-toolchain-add-it-to-path:
|
.. _setup-linux-toolchain-add-it-to-path:
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,13 @@ Toolchain Setup
|
||||||
|
|
||||||
ESP32 toolchain for macOS is available for download from Espressif website:
|
ESP32 toolchain for macOS is available for download from Espressif website:
|
||||||
|
|
||||||
https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-73-ge28a011-5.2.0.tar.gz
|
https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-75-gbaf03c2-5.2.0.tar.gz
|
||||||
|
|
||||||
Download this file, then extract it in ``~/esp`` directory::
|
Download this file, then extract it in ``~/esp`` directory::
|
||||||
|
|
||||||
mkdir -p ~/esp
|
mkdir -p ~/esp
|
||||||
cd ~/esp
|
cd ~/esp
|
||||||
tar -xzf ~/Downloads/xtensa-esp32-elf-osx-1.22.0-73-ge28a011-5.2.0.tar.gz
|
tar -xzf ~/Downloads/xtensa-esp32-elf-osx-1.22.0-75-gbaf03c2-5.2.0.tar.gz
|
||||||
|
|
||||||
.. _setup-macos-toolchain-add-it-to-path:
|
.. _setup-macos-toolchain-add-it-to-path:
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ Alternative Setup: Just download a toolchain
|
||||||
|
|
||||||
If you already have an MSYS2 install or want to do things differently, you can download just the toolchain here:
|
If you already have an MSYS2 install or want to do things differently, you can download just the toolchain here:
|
||||||
|
|
||||||
https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-73-ge28a011-5.2.0.zip
|
https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-75-gbaf03c2-5.2.0.zip
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Toolchain Setup
|
||||||
|
|
||||||
The quick setup is to download the Windows all-in-one toolchain & MSYS2 zip file from dl.espressif.com:
|
The quick setup is to download the Windows all-in-one toolchain & MSYS2 zip file from dl.espressif.com:
|
||||||
|
|
||||||
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20170918.zip
|
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20171123.zip
|
||||||
|
|
||||||
Unzip the zip file to ``C:\`` (or some other location, but this guide assumes ``C:\``) and it will create an ``msys32`` directory with a pre-prepared environment.
|
Unzip the zip file to ``C:\`` (or some other location, but this guide assumes ``C:\``) and it will create an ``msys32`` directory with a pre-prepared environment.
|
||||||
|
|
||||||
|
|
|
@ -525,7 +525,7 @@ TOOLCHAIN_COMMIT_DESC := $(shell $(CC) --version | sed -E -n 's|.*crosstool-ng-(
|
||||||
TOOLCHAIN_GCC_VER := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc.*\ \(.*\)\ (.*)|\1|gp')
|
TOOLCHAIN_GCC_VER := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc.*\ \(.*\)\ (.*)|\1|gp')
|
||||||
|
|
||||||
# Officially supported version(s)
|
# Officially supported version(s)
|
||||||
SUPPORTED_TOOLCHAIN_COMMIT_DESC := 1.22.0-73-ge28a011
|
SUPPORTED_TOOLCHAIN_COMMIT_DESC := 1.22.0-75-gbaf03c2
|
||||||
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 5.2.0
|
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 5.2.0
|
||||||
|
|
||||||
ifdef TOOLCHAIN_COMMIT_DESC
|
ifdef TOOLCHAIN_COMMIT_DESC
|
||||||
|
|
|
@ -44,7 +44,7 @@ python -m pip install --upgrade pip
|
||||||
pip install pyserial
|
pip install pyserial
|
||||||
|
|
||||||
# Automatically download precompiled toolchain, unpack at /opt/xtensa-esp32-elf/
|
# Automatically download precompiled toolchain, unpack at /opt/xtensa-esp32-elf/
|
||||||
TOOLCHAIN_ZIP=xtensa-esp32-elf-win32-1.22.0-73-ge28a011-5.2.0.zip
|
TOOLCHAIN_ZIP=xtensa-esp32-elf-win32-1.22.0-75-gbaf03c2-5.2.0.zip
|
||||||
echo "Downloading precompiled toolchain ${TOOLCHAIN_ZIP}..."
|
echo "Downloading precompiled toolchain ${TOOLCHAIN_ZIP}..."
|
||||||
cd ~
|
cd ~
|
||||||
curl -LO --retry 10 http://dl.espressif.com/dl/${TOOLCHAIN_ZIP}
|
curl -LO --retry 10 http://dl.espressif.com/dl/${TOOLCHAIN_ZIP}
|
||||||
|
|
Ładowanie…
Reference in New Issue