From c7cb5f971e2f82bcd3f574302ab26321aeeccbb0 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 28 Feb 2020 13:26:49 -0500 Subject: [PATCH] Add 'make gdb' target --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5ec07b6..bdffcfe 100644 --- a/Makefile +++ b/Makefile @@ -351,6 +351,9 @@ gdbflash: $(BUILD)/$(MERGED_FNAME).hex @echo Flashing: $< @$(GDB_BMP) -nx --batch -ex 'load $<' -ex 'compare-sections' -ex 'kill' +gdb: $(BUILD)/$(OUTPUT_FILENAME)-nosd.out + $(GDB_BMP) $< + #******************* Compile rules ******************* ## Create build directories