aboutsummaryrefslogtreecommitdiff
path: root/ports/samd/makefile
blob: 336d6f2800003608c43a23d30262014306a15921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#BOARD = TRINKET
UF2DEV = /dev/sdb
#UF2CONV = /home/damien/others/uf2/utils/uf2conv.py

include Makefile

deploy: $(BUILD)/firmware.uf2
	$(ECHO) "Copying $< to the board"
	mount $(UF2DEV)
	cat /mnt/INFO_UF2.TXT > /dev/null
	cp $< /mnt
	umount /mnt