move luna into samd21 group

This commit is contained in:
hathach
2021-01-13 16:59:55 +07:00
parent 4b2714acb2
commit 4f41501fc7
5 changed files with 57 additions and 190 deletions
+11
View File
@@ -0,0 +1,11 @@
CFLAGS += -D__SAMD21G18A__
LD_FILE = $(BOARD_PATH)/samd21g18a_flash.ld
# For flash-jlink target
JLINK_DEVICE = ATSAMD21G18
# flash using dfu-util
flash: $(BUILD)/$(BOARD)-firmware.bin
dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $<