diff options
| author | mainr <[email protected]> | 2021-08-26 07:46:23 -0400 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-29 22:51:46 +0700 |
| commit | b169db3fd6359a127ba92d4bd5cd48a3a5286fd7 (patch) | |
| tree | cce1c7c7efb1c99d48746f3517505fbeac9c688c /examples | |
| parent | 90af8562b1e361c213d70242fc3ae5883e54f33a (diff) | |
Add PYOCD_OPTION
Added PYOCD_OPTION to pass board-specific options to build
Diffstat (limited to 'examples')
| -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 |
