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
+5 -3
View File
@@ -46,6 +46,8 @@ FREERTOS_PORT = ARM_CM7/r0p1
# For flash-jlink target
JLINK_DEVICE = MIMXRT1021DAG5A
# flash by copying bin file to DAP Mass Storage
flash: $(BUILD)/$(BOARD)-firmware.bin
cp $< /media/$(USER)/RT1020-EVK/
# For flash-pyocd target
PYOCD_TARGET = mimxrt1020
# flash using pyocd
flash: flash-pyocd