bsp: rename SAMD21 LUNA variant to luna_d21

We now have SAMD21 and SAMD11 variants of LUNA; so we'll rename the
existing LUNA BSP to be more specific / reflect its version.
This commit is contained in:
Katherine Temkin
2021-02-03 13:34:11 -07:00
parent 6f02e5f1f8
commit 2997e78da3
3 changed files with 0 additions and 0 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)/$(PROJECT).bin
dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $<