simplify debugging
This commit is contained in:
parent
ca8ab8628a
commit
2b67463a9b
7
Makefile
7
Makefile
@ -29,4 +29,11 @@ clean:
|
||||
upload: blinky1.elf
|
||||
mspdebug rf2500 "prog blinky1.elf"
|
||||
|
||||
.PHONY: debug
|
||||
debug: upload
|
||||
mspdebug rf2500 gdb &
|
||||
ddd --debugger "msp430-gdb -x blinky1.gdb"
|
||||
|
||||
|
||||
|
||||
|
||||
|
2
blinky1.gdb
Normal file
2
blinky1.gdb
Normal file
@ -0,0 +1,2 @@
|
||||
target remote localhost:2000
|
||||
file blinky1.elf
|
Loading…
x
Reference in New Issue
Block a user