open-ameba/RTL00_SDKV35a/flasher/add_sample_bat/STLink-Reset.bat
2017-05-13 02:29:53 +03:00

6 lines
188 B
Batchfile

@echo off
call paths.bat
@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