Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set firmware=firmware.bin
- set ports=COM3 COM4 COM5
- for %%p in (%ports%) do (
- start esptool.py --chip esp32 --port %%p write_flash 0x1000 %firmware%
- )
- echo Waiting for all flash operations to complete...
- timeout /T 10 >nul
- echo All ESP32 boards have been flashed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement