2017-02-16 20:08:04 -08:00
|
|
|
echo I am flash_openocd.bat
|
|
|
|
|
|
|
|
cp -r ../misc/install/openocd .
|
|
|
|
|
2017-03-12 14:45:04 -07:00
|
|
|
if not exist openocd/openocd.exe echo openocd/openocd.exe NOT FOUND
|
|
|
|
if not exist openocd/openocd.exe exit -1
|
2017-02-16 20:08:04 -08:00
|
|
|
|
2018-10-14 07:03:52 -07:00
|
|
|
openocd\openocd -f openocd/stm32f4discovery.cfg -c "program build/rusefi.bin verify reset exit 0x08000000"
|
2017-02-16 20:08:04 -08:00
|
|
|
|