use pyocd for iMXRT boards

This commit is contained in:
hathach
2020-10-09 13:48:08 +07:00
parent e8b3af038e
commit 344d589a35
6 changed files with 25 additions and 17 deletions

View File

@@ -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