diff options
author | Paul Selkirk <paul@psgd.org> | 2015-10-29 15:42:29 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-10-29 15:42:29 -0400 |
commit | 9278e9bafd96105b64f9946eb94f5618f01649d3 (patch) | |
tree | 2aca37b1edebc9eb717456179f85927929c98cbb /bin | |
parent | fb73e2d75b4e99a29c28bbbaf754222010c273b7 (diff) |
add libhal tests, some cleanup (some mess-making)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/debug | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,6 +2,11 @@ PROJ="${1?'project'}" -GDB=arm-none-eabi-gdb +OPENOCD=openocd +OPENOCD_PROC_FILE=/usr/share/openocd/scripts/board/st_nucleo_f401re.cfg +$OPENOCD -f $OPENOCD_BOARD_DIR/$OPENOCD_PROC_FILE & +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 + +kill -9 $(pidof $OPENOCD) |