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¶
- Open firmware installer.
- Select the correct board for your ESP32 variant.
- Switch the board to boot mode: hold
BOOTand pressRESET. - Click on
Nainstalovat MicroPython. - After the installation is complete, reset the board.
- Click on
Connect and upload libraries. - 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.pyto the root of the boardmain.pyto the root of the board- libraries to
/lib/
File instalace_new/esp32/files.lst specifies the exact list.