diff options
Diffstat (limited to 'bin')
-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" |