add BSP for SAMD11 variant of Great Scott Gadgets' LUNA boards (SAMD11)

This commit is contained in:
Katherine Temkin
2021-02-03 13:33:40 -07:00
parent 148a5a9181
commit 6f02e5f1f8
8 changed files with 267 additions and 18 deletions
+11
View File
@@ -0,0 +1,11 @@
CFLAGS += -D__SAMD11D14AM__
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/samd11d14am_flash.ld
# For flash-jlink target
JLINK_DEVICE = ATSAMD11D14
# flash using dfu-util
flash: $(BUILD)/$(PROJECT).bin
dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $<