use predefined OpenOCD configuration
This commit is contained in:
parent
df92838d8b
commit
68749ef851
2
Makefile
2
Makefile
|
@ -174,6 +174,6 @@ endif
|
|||
|
||||
# debug using jtag (openOCB+GDB)
|
||||
debug: $(BINARY).elf
|
||||
$(Q)$(GDB) --eval-command="target remote | $(OOCD) --file interface/stlink-v2.cfg --file target/stm32f1x.cfg --command \"gdb_port pipe; log_output /dev/null; init\"" --eval-command="monitor reset halt" --eval-command="load" --eval-command="monitor reset init" $(<)
|
||||
$(Q)$(GDB) --eval-command="target remote | $(OOCD) --file interface/$(OOCD_INTERFACE).cfg --file target/$(OOCD_TARGET).cfg --command \"gdb_port pipe; log_output /dev/null; init\"" --eval-command="monitor reset halt" --eval-command="load" --eval-command="monitor reset init" $(<)
|
||||
|
||||
.PHONY: clean elf bin hex srec list libraries flash reset
|
||||
|
|
Loading…
Reference in New Issue