espressif_tinyusb/hw/bsp/samd21/boards/curiosity_nano/board.mk

14 lines
312 B
Makefile
Raw Normal View History

CFLAGS += -D__SAMD21G17A__
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/samd21g17a_flash.ld
# For flash-jlink target
JLINK_DEVICE = atsamd21g17a
# flash using jlink (options are: jlink/cmsisdap/stlink/dfu)
#flash: flash-jlink
PYOCD_TARGET = atsamd21g17a
flash: flash-pyocd