Toolchain Setup
===============
+.. include:: /_build/inc/download-links.inc
+
ESP32 toolchain for Linux is available for download from Espressif website:
- for 64-bit Linux:
- https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz
+ |download_link_linux64|
- for 32-bit Linux:
- https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz
+ |download_link_linux32|
+
+1. Download this file, then extract it in ``~/esp`` directory:
+
+ - for 64-bit Linux:
+
+ .. include:: /_build/inc/unpack-code-linux64.inc
-1. Download this file, then extract it in ``~/esp`` directory::
+ - for 32-bit Linux:
- mkdir -p ~/esp
- cd ~/esp
- tar -xzf ~/Downloads/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz
+ .. include:: /_build/inc/unpack-code-linux32.inc
.. _setup-linux-toolchain-add-it-to-path-cmake:
Toolchain Setup
===============
+.. include:: /_build/inc/download-links.inc
+
ESP32 toolchain for macOS is available for download from Espressif website:
-https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
+|download_link_osx|
-Download this file, then extract it in ``~/esp`` directory::
+Download this file, then extract it in ``~/esp`` directory:
- mkdir -p ~/esp
- cd ~/esp
- tar -xzf ~/Downloads/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
+.. include:: /_build/inc/unpack-code-osx.inc
.. _setup-macos-toolchain-add-it-to-path-cmake:
Toolchain Setup
===============
-Download the precompiled Windows toolchain from dl.espressif.com:
+.. include:: /_build/inc/download-links.inc
-https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip
+Download the precompiled Windows toolchain:
+
+|download_link_win32|
Unzip the zip file to ``C:\Program Files`` (or some other location). The zip file contains a single directory ``xtensa-esp32-elf``.