diff options
| author | Ha Thach <[email protected]> | 2021-08-30 12:45:02 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-30 12:45:02 +0700 |
| commit | 4874afb2720eac33d681611dfc7264f8e1a8470a (patch) | |
| tree | 18246faa975b03d723e017a7262651b792856121 /examples/rules.mk | |
| parent | bc4145fcb4b2605438f4388e954d3cc302865ae8 (diff) | |
| parent | a05ea0d83b6c59316751e546dfec3ee4e2a286e1 (diff) | |
Merge pull request #1049 from mws-rmain/master
Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 4fce468fd..861973284 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -169,8 +169,9 @@ flash-stlink: $(BUILD)/$(PROJECT).elf STM32_Programmer_CLI --connect port=swd --write $< --go # flash with pyocd +PYOCD_OPTION ?= flash-pyocd: $(BUILD)/$(PROJECT).hex - pyocd flash -t $(PYOCD_TARGET) $< + pyocd flash -t $(PYOCD_TARGET) $(PYOCD_OPTION) $< pyocd reset -t $(PYOCD_TARGET) # flash with Black Magic Probe |
