Advertisement
pleasedontcode

Windows ESP32 Multiple Flashing Script

Aug 7th, 2024
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | Source Code | 0 0
  1. @echo off
  2. set firmware=firmware.bin
  3. set ports=COM3 COM4 COM5
  4. for %%p in (%ports%) do (
  5.     start esptool.py --chip esp32 --port %%p write_flash 0x1000 %firmware%
  6. )
  7. echo Waiting for all flash operations to complete...
  8. timeout /T 10 >nul
  9. echo All ESP32 boards have been flashed.
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement