From ff235803f43a3424f6309749019699716db2edd2 Mon Sep 17 00:00:00 2001 From: biboc Date: Wed, 7 Jun 2017 11:25:21 +0200 Subject: [PATCH] Sam0: fix edbg flash with serial number --- makefiles/boards/sam0.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/boards/sam0.inc.mk b/makefiles/boards/sam0.inc.mk index ef7578e528..75cf7dc105 100644 --- a/makefiles/boards/sam0.inc.mk +++ b/makefiles/boards/sam0.inc.mk @@ -10,7 +10,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk # Usage: SERIAL="ATML..." BOARD= make flash ifneq (,$(SERIAL)) export OPENOCD_EXTRA_INIT += "-c cmsis_dap_serial $(SERIAL)" - EDBG_ARGS += "--serial $(SERIAL)" + EDBG_ARGS += --serial $(SERIAL) SERIAL_TTY = $(firstword $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh $(SERIAL))) ifeq (,$(SERIAL_TTY)) $(error Did not find a device with serial $(SERIAL))