From 26f12903dab2fafeaaefb02349763618ce96d070 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 26 Oct 2015 15:18:58 -0400 Subject: Based on user/ft/stm32-dev-bridge, without the project-specific build directories (and duplicated code). --- bin/debug | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/debug (limited to 'bin/debug') 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 -- cgit v1.2.3