Skip to content

Commit

Permalink
tools: edbg: use for resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 16, 2018
1 parent 966d83d commit 28a0ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions makefiles/tools/edbg.inc.mk
Expand Up @@ -16,3 +16,5 @@ FFLAGS ?= $(EDBG_ARGS) -t $(EDBG_DEVICE_TYPE) -b -e -v -p -f $(HEXFILE)
ifeq ($(RIOT_EDBG),$(FLASHER))
FLASHDEPS += $(RIOT_EDBG)
endif
RESET ?= $(EDBG)
RESET_FLAGS ?= $(EDBG_ARGS) -t $(EDBG_DEVICE_TYPE)
2 changes: 1 addition & 1 deletion makefiles/tools/openocd.inc.mk
@@ -1,7 +1,7 @@
export FLASHER ?= $(RIOTBASE)/dist/tools/openocd/openocd.sh
export DEBUGGER = $(RIOTBASE)/dist/tools/openocd/openocd.sh
export DEBUGSERVER = $(RIOTBASE)/dist/tools/openocd/openocd.sh
export RESET = $(RIOTBASE)/dist/tools/openocd/openocd.sh
export RESET ?= $(RIOTBASE)/dist/tools/openocd/openocd.sh

export OFLAGS ?= -O ihex
export FFLAGS ?= flash
Expand Down

0 comments on commit 28a0ffc

Please sign in to comment.