rusefi-1/firmware/flash_openocd.bat

11 lines
455 B
Batchfile

echo I am flash_openocd.bat
cp -r ../misc/install/openocd .
if not exist openocd/openocd.exe echo openocd/openocd.exe NOT FOUND
if not exist openocd/openocd.exe exit -1
openocd\openocd -f openocd/stm32f429disc1.cfg -c "program build/rusefi.bin verify reset exit 0x08000000"
rem openocd-0.8.0.exe -f interface/stlink-v2.cfg -f board/stm32f4discovery.cfg -c "program rusefi.bin verify reset exit 0x08000000"