diff --git a/applications/blink_raw/targets/freertos.armv7m.ti-launchpad-tm4c129/Makefile b/applications/blink_raw/targets/freertos.armv7m.ti-launchpad-tm4c129/Makefile index fd1b66ab4..b75c16173 100644 --- a/applications/blink_raw/targets/freertos.armv7m.ti-launchpad-tm4c129/Makefile +++ b/applications/blink_raw/targets/freertos.armv7m.ti-launchpad-tm4c129/Makefile @@ -48,7 +48,7 @@ ifeq ($(call find_missing_deps,OPENOCDSCRIPTSPATH OPENOCDPATH),) flash: $(EXECUTABLE)$(EXTENTION) $(EXECUTABLE).lst @if ps ax -o comm | grep -q openocd ; then echo openocd already running. quit existing first. ; exit 1 ; fi cp $< last-flashed-$< - $(GDB) $< -ex "target remote | $(OPENOCDPATH)/openocd -c \"gdb_port pipe\" --search $(OPENOCDSCRIPTSPATH) $(OPENOCDARGS)" -ex "monitor reset init" -ex "monitor reset run" -ex "load" -ex "monitor reset init" -ex "monitor reset run" -ex "detach" -ex "quit" + $(GDB) $< -ex "target remote | $(OPENOCDPATH)/openocd -c \"gdb_port pipe\" --search $(OPENOCDSCRIPTSPATH) $(OPENOCDARGS)" -ex "monitor reset init" -ex "load" -ex "monitor reset init" -ex "monitor reset run" -ex "detach" -ex "quit" gdb: @if ps ax -o comm | grep -q openocd ; then echo openocd already running. quit existing first. ; exit 1 ; fi