separate cortex.ocd file

This commit is contained in:
rebane 2016-08-19 08:48:44 +03:00
parent a1c1f34bc9
commit 36a2e0e8c5
3 changed files with 11 additions and 10 deletions

View file

@ -24,7 +24,7 @@ clean:
rm -rf $(FILENAME_PREFIX).bin $(FILENAME_PREFIX).elf
install:
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_start $(ADDRESS)" -c "shutdown"
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -f cortex/cortex.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_bootstrap $(ADDRESS)" -c "shutdown"
reset:
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "reset run" -c "shutdown"