diff options
author | Brian Cully <bjc@kublai.com> | 2019-06-13 18:00:42 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-06-22 16:18:03 -0400 |
commit | fad3038b035db90c59f297891835d37fd97b79c5 (patch) | |
tree | e99ab8e4de5130dc9aca5ad35f3c6b8e0e82d263 /samd/Makefile | |
download | usb2btle-fad3038b035db90c59f297891835d37fd97b79c5.tar.gz usb2btle-fad3038b035db90c59f297891835d37fd97b79c5.zip |
Initial commit.
Diffstat (limited to 'samd/Makefile')
-rw-r--r-- | samd/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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 |