This commit is contained in:
hathach 2019-09-01 21:04:43 +07:00
parent 80cde5b0b5
commit 67d2cf39d5
3 changed files with 8 additions and 6 deletions

View File

@ -35,5 +35,6 @@ FREERTOS_PORT = ARM_CM0
JLINK_DEVICE = LPC11U68
JLINK_IF = swd
# flash using jlink
flash: flash-jlink
# flash using pyocd
flash: $(BUILD)/$(BOARD)-firmware.hex
pyocd flash -t lpc11u68 $<

View File

@ -41,5 +41,6 @@ FREERTOS_PORT = ARM_CM0
JLINK_DEVICE = LPC51U68
JLINK_IF = swd
# flash using jlink
#flash: flash-jlink
# flash using pyocd (51u68 is not supported yet)
flash: $(BUILD)/$(BOARD)-firmware.hex
pyocd flash -t LPC51U68 $<

View File

@ -44,5 +44,5 @@ JLINK_DEVICE = LPC54114J256_M4
JLINK_IF = swd
# flash using pyocd
flash: $(BUILD)/$(BOARD)-firmware.elf
pyocd flash -v -e auto -t LPC54114 $<
flash: $(BUILD)/$(BOARD)-firmware.hex
pyocd flash -t LPC54114 $<