aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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"