20 lines
407 B
Batchfile
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 |