Skip to content

ESP32

On the ESP32, MicroPython is installed via the web installer and the serial port. This page applies to the ESP32 family, i.e. also for variants such as ESP32-C3 and ESP32-S3, if you select the correct board profile in the installer. First, clean firmware is loaded, then after the reset, libraries are added according to files.lst.

Procedure

  1. Open firmware installer.
  2. Select the correct board for your ESP32 variant.
  3. Switch the board to boot mode: hold BOOT and press RESET.
  4. Click on Nainstalovat MicroPython.
  5. After the installation is complete, reset the board.
  6. Click on Connect and upload libraries.
  7. Select the correct serial port and wait for upload to complete.

Good to know

  • Serial port may change on ESP32-S2/S3 after flash.
  • Libraries are loaded automatically from files.lst, you don't need to copy them manually.
  • When the installation fails, it is usually the fastest to disconnect the board, switch to boot mode again and start the installation again.

What is copied after installation

Typically uploaded:

  • boot.py to the root of the board
  • main.py to the root of the board
  • libraries to /lib/

File instalace_new/esp32/files.lst specifies the exact list.