To download the latest version of MicroPython firmware for the ESP32, go to the MicroPython Downloads page and scroll all the way down to the ESP32 section.
Downloading and Flashing the MicroPython Firmware on ESP32 Then, if you want to use MicroPython again, you need to flash MicroPython firmware. You just need to upload code using Arduino IDE. Note: after installing MicroPython firmware on your ESP32 or ESP8266, you can go back and use Arduino IDE again. This post is divided in two parts, read Part 1 or Part 2 depending on your board: With esptool.py installed in your computer, you can easily flash your ESP32 or ESP8266 boards with the MicroPython firmware. If it was installed properly, it should display a similar message (regardless of your operating system): In your Terminal window, run the following command: esptool.py If that’s the case, try to install esptool.py with:Īfter 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. Note: with some Python installations that command may not work and you’ll receive an error. With Python 3 installed, open a Terminal window and install the latest stable esptool.py release with pip: pip install esptool We recommend using Python 3.7.X, so go to Python’s website and install it in your computer. To work with esptool.py, you’ll need either Python 2.7, Python 3.4 or a newer Python installation on your system. For that reason, we’re posting an alternative method using the esptool.py software. However, we’ve recently received comments from our readers about having trouble installing/using uP圜raft IDE. Tip: for an easier method to flash the ESP32/ESP8266 with MicroPython, we recommend reading this guide to flash MicroPython with uP圜raft IDE.
For the official documentation, you can visit the esptool.py GitHub page.
#MICROPYTHON ESP8266 FIRMWARE MAC OS#
It works on Windows, Mac OS X, and Linux.
#MICROPYTHON ESP8266 FIRMWARE HOW TO#
This posts shows how to flash MicroPython firmware on ESP32/ESP8266 boards using the esptool.py.