Skip to content

Commit

Permalink
boards/samr21-xpro: allow specifying flash device
Browse files Browse the repository at this point in the history
  • Loading branch information
LudwigKnuepfer committed Mar 3, 2015
1 parent 2ff29ea commit 7344f77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boards/samr21-xpro/Makefile.include
Expand Up @@ -33,6 +33,9 @@ export LINKFLAGS += -T$(LINKERSCRIPT)
export OFLAGS = -O ihex
export TERMFLAGS += -p "$(PORT)"
export FFLAGS = flash
ifneq (,$(SERIAL))
export FFLAGS += "-c cmsis_dap_serial $(SERIAL)"
endif
export DEBUGGER_FLAGS = debug
export DEBUGSERVER_FLAGS = debug-server
export RESET_FLAGS = reset
Expand Down

0 comments on commit 7344f77

Please sign in to comment.