[Cryptech-Commits] [sw/stm32] 03/11: Catch up to changes in openocd 0.9.0.

git at cryptech.is git at cryptech.is
Mon Nov 16 21:43:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

commit bce99ca97c0d53db2e0c4eadd23e1a4d5e60ebbc
Author: Paul Selkirk <paul at psgd.org>
Date:   Tue Nov 10 17:30:25 2015 -0500

    Catch up to changes in openocd 0.9.0.
---
 bin/debug        | 4 +++-
 bin/flash-target | 4 ++--
 2 files changed, 5 insertions(+), 3 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
diff --git a/bin/flash-target b/bin/flash-target
index cfb951f..bebcb27 100755
--- a/bin/flash-target
+++ b/bin/flash-target
@@ -22,6 +22,6 @@ OPENOCD_BOARD_DIR=/usr/share/openocd/scripts/board
 # the OPENOCD_BOARD_DIR directory.
 #
 #OPENOCD_PROC_FILE=stm32f4discovery.cfg
-OPENOCD_PROC_FILE=st_nucleo_f401re.cfg
+OPENOCD_PROC_FILE=st_nucleo_f4.cfg
 
-$OPENOCD -f $OPENOCD_BOARD_DIR/$OPENOCD_PROC_FILE -c "program $PROJ.elf verify reset"
+$OPENOCD -f $OPENOCD_BOARD_DIR/$OPENOCD_PROC_FILE -c "program $PROJ.elf verify reset exit"



More information about the Commits mailing list