Monday, November 23, 2020

Install esptool on Raspberry Pi OS

esptool.py is a Python-based, open source, platform independent, utility to communicate with the ROM bootloader in Espressif ESP8266 & ESP32 chips. ESP32-S2 is supported started from Version 3.0 (https://github.com/espressif/esptool/releases).

To install esptool on Raspberry Pi OS, enter the command in Terminal:

$ sudo pip install esptool
remark:

In my trial on Raspberry Pi OS, if I install without "sudo", I cannot run it without specify the full path.

Because the esptool.py executable is installed to the hidden directory ~/local/.bin directory. Have to set PATH to esptool, otherwise it cannot be run directly. So I install esptool with "sudo".

To check the version of installed esptool using pip:
$ pip show esptool



Next:
Install CircuitPython to nanoESP32-S2, on Raspberry Pi

No comments: