User Tools

Site Tools


esp:esp8266:open-sdk:esptool

ESP Image Tool - esptool.py

A Python-based, open source, platform independent, utility to communicate with the ROM bootloader in Espressif ESP8266 & ESP32 chips.

Installation

You will need either Python 2.7 or Python 3.4 or newer installed on your system.

Simple installation

The latest stable esptool.py release can be installed from pypi via pip:

$ pip install esptool

With some Python installations this may not work and you'll receive an error, try python -m pip install esptool or pip2 install esptool. After installing, you will have esptool.py installed into the default Python executables directory and you should be able to run it with the command esptool.py.

Manual installation

Manual installation allows you to run the latest development version from this repository. esptool.py depends on pySerial version 3.0 or newer for serial communication with the target device. If you choose to install esptool.py system-wide by running python setup.py install, then this will be taken care of automatically.

If not using setup.py, then you'll have to install pySerial manually by running something like pip install pyserial, easy_install pyserial or apt-get install python-serial, depending on your platform.

git clone --recursive https://github.com/espressif/esptool.git
esp/esp8266/open-sdk/esptool.txt · Last modified: by 127.0.0.1