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 /examples | |
| parent | ec018fbf4ed30b014b82f993246f8730687e649a (diff) | |
add flash-pyocd support
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index e972ce735..a062c29c5 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -163,4 +163,8 @@ flash-jlink: $(BUILD)/$(BOARD)-firmware.hex flash-stlink: $(BUILD)/$(BOARD)-firmware.elf STM32_Programmer_CLI --connect port=swd --write $< --go +# flash with pyocd +flash-pyocd: $(BUILD)/$(BOARD)-firmware.hex + pyocd flash -t $(PYOCD_TARGET) $< + endif # Make target |
