Add 'make gdb' target
This commit is contained in:
parent
fe5cbd8183
commit
c7cb5f971e
3
Makefile
3
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user