-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove leftover blackmagicprobe/stlink/ftdi rules Change `OOCD_INTERFACE` and `OOCD_BOARD` variables to explicitly include `interface/` and `target/` to allow for local interface/board cfg files Update debug.cfg to make usable with piping Add `make debug` target to launch GDB Add rule to optionally include `local.mk` for local customization
- Loading branch information
Showing
5 changed files
with
24 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,7 @@ GTAGS | |
*.bin | ||
*.elf | ||
*.axf | ||
*.map | ||
*.map | ||
|
||
# ignore local makefile settings | ||
src/local.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
gdb_port pipe | ||
gdb_memory_map disable | ||
|
||
$_TARGETNAME configure -event gdb-attach { | ||
echo "Halting target" | ||
halt | ||
} | ||
|
||
$_TARGETNAME configure -event gdb-detach { | ||
echo "Resetting target" | ||
reset | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters