summaryrefslogtreecommitdiff
path: root/hw/bsp/samd2x_l2x/boards/qtpy/board.mk
blob: 4009c8a3873990dad0bdc65ffa7ab6c48151ce38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SAM_FAMILY = samd21

# For Adafruit QT Py board

CFLAGS += -D__SAMD21E18A__ -DCFG_EXAMPLE_VIDEO_READONLY

# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/$(BOARD).ld

# For flash-jlink target
JLINK_DEVICE = ATSAMD21E18

flash: flash-bossac