summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/samd11/boards/luna_d11/board.mk
blob: ad9cfb25d859cab5d18f40e3e6bcf886d002c3f6 (plain)
1
2
3
4
5
6
7
8
9
10
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 $<