diff options
author | Paul Selkirk <paul@psgd.org> | 2016-03-21 16:09:32 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-03-21 16:09:32 -0400 |
commit | 785863c1166224a234d6dc1f5035fb7f3f77efe6 (patch) | |
tree | 566e4686e143d516cf9325234ab3ac97907708c4 | |
parent | 533898d765397abb07be72d7c394a8908157ad8c (diff) |
Back to using DISCO board for ST-LINK operations.
-rwxr-xr-x | bin/debug | 4 | ||||
-rwxr-xr-x | bin/flash-target | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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" |