diff --git a/Makefile b/Makefile index 1a57715..90ad170 100644 --- a/Makefile +++ b/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