aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-03-21 16:09:32 -0400
committerPaul Selkirk <paul@psgd.org>2016-03-21 16:09:32 -0400
commit785863c1166224a234d6dc1f5035fb7f3f77efe6 (patch)
tree566e4686e143d516cf9325234ab3ac97907708c4
parent533898d765397abb07be72d7c394a8908157ad8c (diff)
Back to using DISCO board for ST-LINK operations.
-rwxr-xr-xbin/debug4
-rwxr-xr-xbin/flash-target4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/debug b/bin/debug
index 2cdda7b..9309e66 100755
--- a/bin/debug
+++ b/bin/debug
@@ -4,8 +4,8 @@ PROJ="${1?'project'}"
OPENOCD=openocd
OPENOCD_BOARD_DIR=/usr/share/openocd/scripts/board
-#OPENOCD_PROC_FILE=stm32f4discovery.cfg
-OPENOCD_PROC_FILE=st_nucleo_f4.cfg
+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
diff --git a/bin/flash-target b/bin/flash-target
index bebcb27..aa77a99 100755
--- a/bin/flash-target
+++ b/bin/flash-target
@@ -21,7 +21,7 @@ OPENOCD_BOARD_DIR=/usr/share/openocd/scripts/board
# If you are using something else, look for a matching configuration file in
# the OPENOCD_BOARD_DIR directory.
#
-#OPENOCD_PROC_FILE=stm32f4discovery.cfg
-OPENOCD_PROC_FILE=st_nucleo_f4.cfg
+OPENOCD_PROC_FILE=stm32f4discovery.cfg
+#OPENOCD_PROC_FILE=st_nucleo_f4.cfg
$OPENOCD -f $OPENOCD_BOARD_DIR/$OPENOCD_PROC_FILE -c "program $PROJ.elf verify reset exit"