diff options
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 4bad747da..4af2f2be4 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -170,7 +170,7 @@ flash-stlink: $(BUILD)/$(PROJECT).elf # flash with pyocd flash-pyocd: $(BUILD)/$(PROJECT).hex - pyocd flash -t $(PYOCD_TARGET) -O dap_protocol=swd $< + pyocd flash -t $(PYOCD_TARGET) $(PYOCD_OPTION) $< pyocd reset -t $(PYOCD_TARGET) # flash with Black Magic Probe |
