summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-10-09 13:48:08 +0700
committerhathach <[email protected]>2020-10-09 13:48:08 +0700
commit344d589a354ec719333c10d315f4f186b178d2d7 (patch)
tree4a45691a1223d8535cc5d3e10d3313c35b7fde6f /examples
parente8b3af038edf2195a8b65e3f66f7097445f07ff2 (diff)
use pyocd for iMXRT boards
Diffstat (limited to 'examples')
-rw-r--r--examples/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index a062c29c5..7ed648a8b 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -166,5 +166,6 @@ flash-stlink: $(BUILD)/$(BOARD)-firmware.elf
# flash with pyocd
flash-pyocd: $(BUILD)/$(BOARD)-firmware.hex
pyocd flash -t $(PYOCD_TARGET) $<
+ pyocd reset -t $(PYOCD_TARGET)
endif # Make target