diff options
Diffstat (limited to 'bin/debug')
-rwxr-xr-x | bin/debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/debug b/bin/debug new file mode 100755 index 0000000..f6ede81 --- /dev/null +++ b/bin/debug @@ -0,0 +1,7 @@ +#!/bin/sh + +PROJ="${1?'project'}" + +GDB=arm-none-eabi-gdb + +$GDB -ex "target remote localhost:3333" -ex "set remote hardware-breakpoint-limit 6" -ex "set remote hardware-watchpoint-limit 4" $PROJ.elf |