Add 'make gdb' target

This commit is contained in:
Michal Moskal 2020-02-28 13:26:49 -05:00
parent fe5cbd8183
commit c7cb5f971e

View File

@ -351,6 +351,9 @@ gdbflash: $(BUILD)/$(MERGED_FNAME).hex
@echo Flashing: $< @echo Flashing: $<
@$(GDB_BMP) -nx --batch -ex 'load $<' -ex 'compare-sections' -ex 'kill' @$(GDB_BMP) -nx --batch -ex 'load $<' -ex 'compare-sections' -ex 'kill'
gdb: $(BUILD)/$(OUTPUT_FILENAME)-nosd.out
$(GDB_BMP) $<
#******************* Compile rules ******************* #******************* Compile rules *******************
## Create build directories ## Create build directories