--- before.md +++ after.md @@ -0,0 +1,10 @@ +## Prepare ESP8266 + +```bash +esptool --port /dev/ttyUSB0 erase-flash +``` + +## Flash the ESP8266 with micropython rom. +```bash +esptool --port /dev/ttyUSB0 --baud 460800 write-flash --flash-size=detect 0x0 ESP8266_GENERIC-20251209-v1.27.0.bin +```