Skip to content

Commit 70c7125

Browse files
authored
Merge pull request #655 from per1234/fix-openocd-upload-pattern
Remove programmer properties from openocd upload pattern
2 parents 2d1fb48 + 719d9c6 commit 70c7125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ tools.openocd.cmd.windows=bin/openocd.exe
202202

203203
tools.openocd.upload.params.verbose=-d2
204204
tools.openocd.upload.params.quiet=-d0
205-
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "interface/{protocol}" -c "set telnet_port 0" {extra_params} -f "target/at91samdXX.cfg" -c "telnet_port disabled; program {{build.path}/{build.project_name}.bin} verify reset 0x2000; shutdown"
205+
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; program {{build.path}/{build.project_name}.bin} verify reset 0x2000; shutdown"
206206

207207
# the following rule is deprecated by pluggable discovery
208208
tools.openocd.upload.network_pattern={tools.arduino_ota.cmd} -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b

0 commit comments

Comments
 (0)