open-ameba/sdk/flasher/add_sample_bat/STLink-Reset.bat

7 lines
188 B
Batchfile
Raw Normal View History

2017-02-02 07:05:13 +00:00
@echo off
call paths.bat
2017-01-31 03:46:49 +00:00
@cd flasher
openocd -f interface/stlink-v2.cfg -c "adapter_khz 1000" -f rtl8710.ocd -f cortex.ocd -c "init" -c "reset halt" -c "cortex_reboot" -c "shutdown"
rem