From 68749ef851ddd0948721c67c8f890c8868a0fabb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 13 Apr 2016 20:58:36 +0200 Subject: [PATCH] use predefined OpenOCD configuration --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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