Skip to content

Commit 20a3539

Browse files
committed
Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
2 parents 5ad078f + 95da7fb commit 20a3539

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Diff for: platform.txt

+3-6
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,10 @@ recipe.size.regex=\.text\s+([0-9]+).*
7676
# -------------------
7777

7878
tools.openocd.cmd=bin/openocd
79-
tools.openocd.cmd.windows=bin/openocd-0.8.0.exe
80-
tools.openocd.path={runtime.ide.path}/hardware/tools/openocd-0.8.0
79+
tools.openocd.cmd.windows=bin/openocd.exe
80+
tools.openocd.path={runtime.ide.path}/hardware/tools/OpenOCD-0.9.0-dev-arduino
8181

8282
tools.openocd.upload.params.verbose=
8383
tools.openocd.upload.params.quiet=
84-
#tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f board/atmel_samd21_xplained_pro.cfg -c "program {build.path}/{build.project_name}.elf verify reset"
85-
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f ../../../../../arduino/samd/variants/{build.variant}/{build.openocdscript} -c "program {build.path}/{build.project_name}.elf verify reset"
86-
#tools.openocd.upload.pattern.windows="{path}/{cmd}" {upload.verbose} -s "{path}/scripts/" -f board/atmel_samd21_xplained_pro.cfg -c "program {build.path}/{build.project_name}.elf verify reset"
87-
tools.openocd.upload.pattern.windows="{path}/{cmd}" -s "{path}/scripts/" -f "../../../arduino/samd/variants/{build.variant}/{build.openocdscript}" -c "program {build.path}/{build.project_name}.elf verify reset"
84+
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f ../../../../../arduino/samd/variants/{build.variant}/{build.openocdscript} -c "program {{{build.path}/{build.project_name}.elf}} verify reset"
8885

0 commit comments

Comments
 (0)