From 785863c1166224a234d6dc1f5035fb7f3f77efe6 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 21 Mar 2016 16:09:32 -0400 Subject: Back to using DISCO board for ST-LINK operations. --- bin/debug | 4 ++-- bin/flash-target | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') 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" -- cgit v1.2.3