aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-target
diff options
context:
space:
mode:
Diffstat (limited to 'bin/flash-target')
-rwxr-xr-xbin/flash-target4
1 files changed, 2 insertions, 2 deletions
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"