aboutsummaryrefslogblamecommitdiff
path: root/bin/debug
blob: f6ede812d7ebd8688657d83e63f7f4f6e7e44c14 (plain) (tree)
1
2
3
4
5
6
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