summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormainr <[email protected]>2021-08-25 12:05:35 -0400
committerhathach <[email protected]>2021-08-29 22:51:46 +0700
commit90af8562b1e361c213d70242fc3ae5883e54f33a (patch)
treed81d849e2ddcb63d9add87e6261d450c20893d1c /examples
parentbc4145fcb4b2605438f4388e954d3cc302865ae8 (diff)
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
Diffstat (limited to 'examples')
-rw-r--r--examples/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index 4fce468fd..4bad747da 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -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