Arduino core for ESP32 Wiki content

get.exe/get.py fails to download required files

Sometimes get.exe/get.py fails to download the required toolchain and tools for the ESP32 Arduino framework. This can happen due to an old OS (Windows XP e.g.) or due to firewall settings.

If you find no way around, you can download the required files manually and place them into a folder named dist in the same folder where get.exe/get.py is located. Folder structure should look like <SKETCHBOOK_FOLDER>\hardware\espressif\esp32\tools\dist

Once you have downloaded and saved the compressed files in the dist folder, start get.ext/get.py again.

IMPORTANT: DON’T UNCOMPRESS THE DOWNLOADED FILES. LEAVE THEM AS YOU HAVE DOWNLOADED THEM WITH THE EXTENSION .ZIP OR .GZ!!!!!!

Before downloading the files, check for the latest version numbers in the file <SKETCHBOOK_FOLDER>\hardware\espressif\esp32\package_esp32_index.template.json

There are different files listed for the Xtensa-ESP32 toolchain, esptool and mkspiffs. Look for

“host”: “i686-mingw32” for Windows

“host”: “x86_64-apple-darwin” for Mac OS

“host”: “x86_64-pc-linux-gnu” for Linux 64bit

“host”: “i686-pc-linux-gnu” for Linux 32bit

to get the correct filenames to download. At the time I created this post the filenames are as listed below, but might change with any update of the framework

Files to download for Windows (i686-mingw32):

Xtensa-ESP32 toolchain https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip

esptool https://dl.espressif.com/dl/esptool-4dab24e-windows.zip

mkspiffs https://github.com/igrr/mkspiffs/releases/download/0.2.2/mkspiffs-0.2.2-arduino-esp32-win32.zip

Files to download for Mac OS (x86_64-apple-darwin):

Xtensa-ESP32 toolchain https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz

esptool https://dl.espressif.com/dl/esptool-4dab24e-macos.tar.gz

mkspiffs https://github.com/igrr/mkspiffs/releases/download/0.2.2/mkspiffs-0.2.2-arduino-esp32-osx.tar.gz

Files to download for Linus 32bit (i686-pc-linux-gnu):

Xtensa-ESP32 toolchain https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz

esptool – not required, using the python script

mkspiffs https://github.com/igrr/mkspiffs/releases/download/0.2.2/mkspiffs-0.2.2-arduino-esp32-linux32.tar.gz

Files to download for Linus 64bit (x86_64-pc-linux-gnu):

Xtensa-ESP32 toolchain https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

esptool – not required, using the python script

mkspiffs https://github.com/igrr/mkspiffs/releases/download/0.2.2/mkspiffs-0.2.2-arduino-esp32-linux64.tar.gz