diff options
| author | hathach <[email protected]> | 2020-10-08 17:19:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-10-08 17:19:48 +0700 |
| commit | e8b3af038edf2195a8b65e3f66f7097445f07ff2 (patch) | |
| tree | b9e428aa92440772bc3b44169792cab42b5c08fa /hw | |
| parent | ec018fbf4ed30b014b82f993246f8730687e649a (diff) | |
add flash-pyocd support
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/mimxrt1015_evk/board.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/hw/bsp/mimxrt1015_evk/board.mk b/hw/bsp/mimxrt1015_evk/board.mk index 7df60c2c6..3ce7c2f82 100644 --- a/hw/bsp/mimxrt1015_evk/board.mk +++ b/hw/bsp/mimxrt1015_evk/board.mk @@ -45,12 +45,9 @@ FREERTOS_PORT = ARM_CM7/r0p1 # For flash-jlink target JLINK_DEVICE = MIMXRT1015DAF5A -JLINK_IF = swd -# flash by copying bin file to DAP Mass Storage -flash: $(BUILD)/$(BOARD)-firmware.bin - cp $< /media/$(USER)/RT1015-EVK/ +# For flash-pyocd target +PYOCD_TARGET = mimxrt1015 # flash using pyocd -#flash: $(BUILD)/$(BOARD)-firmware.hex -# pyocd flash -b MIMXRT1015-EVK $< +flash: flash-pyocd |
