- Install Visual Studio Code & Python (For example 3.11)
- Install
PlatformIOextension - Download source
.zipfile, unzip it - Initialize PlatformIO core, go to home > open project > choose folder
- Platformio automatically install all dependencies, just wait
- Connect your ESP to PC, make sure that the computer has detected the ESP correctly
- Click
→mark on bottom panel - FOR SOME ESP MODELS: Hold
BOOTbutton on ESP until flash begins
- Download
.binfile from releases page - Make sure you have installed Python & esptool (see below)
- Use esptool to flash ESP:
esptool.py --chip esp32 --port <PORT> --baud <BAUD_RATE> write_flash <ADDRESS> <FILE.bin>Example (windows):
esptool.py --chip esp32 --port COM3 --baud 921600 write_flash 0x1000 firmware.binExample (linux):
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 write_flash 0x1000 firmware.bin- Make sure you have installed Python
- Run this in console:
pip install -U esptoolOpen Device Manager and find the Ports (COM and LPT) section. The port will be listed as COMx, where x is the port number
Use terminal command:
ls /dev/tty.*Typically, the port will look like /dev/ttyUSB0 or /dev/tty. SLAB_USBtoUART
idk lmao check sources