mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
90af8562b1
Added support for Microchip Curiosity Nano SAMD21 board (DM320119) under hw/bsp/samd21/boards/curiosity_nano The nEDBG on this board requires dap_protocol be specified as SWD (changed in examples/rules.mk) NOTE: requires entry (03eb:2175) for VID:PID of nEDBG be added to /etc/udev/rules for pyocd
14 lines
312 B
Makefile
14 lines
312 B
Makefile
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
|