rusefi-1/firmware/flash_reboot_dfu.bat

12 lines
371 B
Batchfile

rem
rem auto-detects connected running rusEfi serial port and send text 'reboot' command
rem flashes DFU
rem
echo Sending rusEFI DFU request
java -jar ../java_console_binary/rusefi_console.jar reboot_dfu
echo Now sleeping before DFU
sleep 5
rem TODO migrate this to stm32prog
echo Invoking DFU process
..\misc\install\DfuSe\DfuSeCommand.exe -c -d --fn deliver/rusefi.dfu