Damien George 5f9bd11527 samd: Add new port to Microchip SAMDxx microcontrollers.
Initially supporting SAMD21 and SAMD51.
2019-07-01 17:19:18 +10:00

13 lines
248 B
Makefile

#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