Skip to content
Snippets Groups Projects
Commit db46dbc6 authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #7146 from biboc/samr21/fix-edbg-serial-flash

sam0: fix edbg flash with serial number
parents 75e0a434 ff235803
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# Usage: SERIAL="ATML..." BOARD=<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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment