boards/samr21-xpro: allow specifying flash device

This commit is contained in:
Ludwig Ortmann 2015-02-22 17:02:45 +01:00
parent 2ff29ea1de
commit 7344f770a3

View File

@ -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