Files
MM32SPIN05PF-E2-80-90Layout…/BinariesReadyToFlash/auto-flash.bat
Robo Durden d5dbba2ce6 binaries
2024-01-10 13:24:29 +01:00

20 lines
407 B
Batchfile

@echo off
:repeat
REM Remove REM below to add 1 sec delay
REM timeout /t 1 /nobreak > nul
color 08
cls
st-flash --connect-under-reset write hoverboard.bin 0x8000000 || goto :repeat
color 0A
echo:
echo ================================
echo ^| FLASH SUCCESSFUL ^|
echo ================================
echo:
echo Press Ctrl+C to exit or any other key to flash again.
pause > nul
goto :repeat