From fad3038b035db90c59f297891835d37fd97b79c5 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 13 Jun 2019 18:00:42 -0400 Subject: Initial commit. --- samd/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 samd/Makefile (limited to 'samd/Makefile') diff --git a/samd/Makefile b/samd/Makefile new file mode 100644 index 0000000..314396c --- /dev/null +++ b/samd/Makefile @@ -0,0 +1,15 @@ +include ../Makefile.common +include Makefile.feather-m4 +#include Makefile.trinket-m0 + +SERIALPORT = $(shell ../find-serial-port $(USBVID) $(USBPID) || echo cant-find-serial-port) + +APP = samd + +all: $(BUILDDIR)/$(APP).ino.bin + +flash: $(BUILDDIR)/$(APP).ino.bin $(SERIALPORT) + $(PKGDIR)/arduino/tools/bossac/1.8.0-48-gb176eee/bossac -R -e -w -v -o$(IMGOFFSET) -p$(SERIALPORT) $< + +console: + screen $(SERIALPORT) 115200 -- cgit v1.2.3