Added support for Microchip Curiosity Nano SAMD21 board (DM320119)

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
This commit is contained in:
mainr
2021-08-25 12:05:35 -04:00
committed by hathach
parent bc4145fcb4
commit 90af8562b1
4 changed files with 208 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ flash-stlink: $(BUILD)/$(PROJECT).elf
# flash with pyocd
flash-pyocd: $(BUILD)/$(PROJECT).hex
pyocd flash -t $(PYOCD_TARGET) $<
pyocd flash -t $(PYOCD_TARGET) -O dap_protocol=swd $<
pyocd reset -t $(PYOCD_TARGET)
# flash with Black Magic Probe