mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
use pyocd for iMXRT boards
This commit is contained in:
parent
e8b3af038e
commit
344d589a35
@ -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
|
||||
|
@ -47,6 +47,8 @@ FREERTOS_PORT = ARM_CM7/r0p1
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = MIMXRT1011DAE5A
|
||||
|
||||
# flash by copying bin file to DAP Mass Storage
|
||||
flash: $(BUILD)/$(BOARD)-firmware.bin
|
||||
cp $< /media/$(USER)/RT1010-EVK/
|
||||
# For flash-pyocd target
|
||||
PYOCD_TARGET = mimxrt1010
|
||||
|
||||
# flash using pyocd
|
||||
flash: flash-pyocd
|
||||
|
@ -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
|
||||
|
@ -43,9 +43,8 @@ CHIP_FAMILY = transdimension
|
||||
# For freeRTOS port source
|
||||
FREERTOS_PORT = ARM_CM7/r0p1
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = MIMXRT1052xxx6B
|
||||
# For flash-pyocd target
|
||||
PYOCD_TARGET = mimxrt1050
|
||||
|
||||
# flash by copying bin file to DAP Mass Storage
|
||||
flash: $(BUILD)/$(BOARD)-firmware.bin
|
||||
cp $< /media/$(USER)/RT1050-EVK/
|
||||
# flash using pyocd
|
||||
flash: flash-pyocd
|
||||
|
@ -46,6 +46,8 @@ FREERTOS_PORT = ARM_CM7/r0p1
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = MIMXRT1062xxx6A
|
||||
|
||||
# flash by copying bin file to DAP Mass Storage
|
||||
flash: $(BUILD)/$(BOARD)-firmware.bin
|
||||
cp $< /media/$(USER)/RT1060-EVK/
|
||||
# For flash-pyocd target
|
||||
PYOCD_TARGET = mimxrt1060
|
||||
|
||||
# flash using pyocd
|
||||
flash: flash-pyocd
|
||||
|
@ -46,6 +46,8 @@ FREERTOS_PORT = ARM_CM7/r0p1
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = MIMXRT1064xxx6A
|
||||
|
||||
# flash by copying bin file to DAP Mass Storage
|
||||
flash: $(BUILD)/$(BOARD)-firmware.bin
|
||||
cp $< /media/$(USER)/RT1064-EVK/
|
||||
# For flash-pyocd target
|
||||
PYOCD_TARGET = mimxrt1064
|
||||
|
||||
# flash using pyocd
|
||||
flash: flash-pyocd
|
||||
|
Loading…
x
Reference in New Issue
Block a user