aboutsummaryrefslogtreecommitdiff
path: root/bin/debug
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-11-10 17:30:25 -0500
committerPaul Selkirk <paul@psgd.org>2015-11-10 17:30:25 -0500
commitbce99ca97c0d53db2e0c4eadd23e1a4d5e60ebbc (patch)
tree00c8ee16e107c70acbd31b4d929e836fc9e28525 /bin/debug
parent506d3c20f1dac68695793353de065191e2144026 (diff)
Catch up to changes in openocd 0.9.0.
Diffstat (limited to 'bin/debug')
-rwxr-xr-xbin/debug4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/debug b/bin/debug
index 983b9bb..2cdda7b 100755
--- a/bin/debug
+++ b/bin/debug
@@ -3,7 +3,9 @@
PROJ="${1?'project'}"
OPENOCD=openocd
-OPENOCD_PROC_FILE=/usr/share/openocd/scripts/board/st_nucleo_f401re.cfg
+OPENOCD_BOARD_DIR=/usr/share/openocd/scripts/board
+#OPENOCD_PROC_FILE=stm32f4discovery.cfg
+OPENOCD_PROC_FILE=st_nucleo_f4.cfg
$OPENOCD -f $OPENOCD_BOARD_DIR/$OPENOCD_PROC_FILE &
GDB=arm-none-eabi-gdb