only:linux openocd

This commit is contained in:
rusefillc 2023-08-04 08:55:50 -04:00
parent 2eda850c84
commit f944c8d69b
2 changed files with 6 additions and 5 deletions

View File

@ -1,2 +1,6 @@
@echo off
bash.exe flash_openocd407.sh
cd ../misc/install
[ -e openocd/openocd.exe ] || { echo "openocd/openocd.exe NOT FOUND"; exit 1; }
./openocd/openocd.exe -f openocd/stm32f4discovery.cfg -c "program ../../firmware/build/rusefi.bin verify reset exit 0x08000000"

View File

@ -2,9 +2,6 @@
echo "I am flash_openocd.sh"
cd ../misc/install
[ -e openocd/openocd.exe ] || { echo "openocd/openocd.exe NOT FOUND"; exit 1; }
./openocd/openocd.exe -f openocd/stm32f4discovery.cfg -c "program ../../firmware/build/rusefi.bin verify reset exit 0x08000000"
openocd -f board/stm32f4discovery.cfg -c "program ../../firmware/build/rusefi.bin verify reset exit 0x08000000"