Skip to content

Commit 8979eb2

Browse files
committed
cleaning bootloader and upload commands
1 parent 178dae4 commit 8979eb2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

platform.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ tools.openocd.path={runtime.ide.path}/hardware/tools/OpenOCD-0.9.0-dev-arduino
106106

107107
tools.openocd.upload.params.verbose=-d3
108108
tools.openocd.upload.params.quiet=-d0
109-
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"
109+
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "program {{{build.path}/{build.project_name}.elf}} verify reset"
110110

111111

112112
tools.openocd.program.params.verbose=-d3
@@ -119,8 +119,7 @@ tools.openocd.erase.pattern=
119119

120120
tools.openocd.bootloader.params.verbose=-d2
121121
tools.openocd.bootloader.params.quiet=-d0
122-
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{{path}/share/openocd/scripts/}" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "program {{runtime.platform.path}/bootloaders/{bootloader.file}} verify reset"
123-
#tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "../../../../../arduino/samd/variants/{build.variant}/{build.openocdscript}" -c "program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset"
122+
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset"
124123

125124
#
126125
# OpenOCD burn bootloader
@@ -136,4 +135,4 @@ tools.edbg.erase.pattern=
136135

137136
tools.edbg.bootloader.params.verbose=-d3
138137
tools.edbg.bootloader.params.quiet=-d0
139-
tools.edbg.bootloader.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f ../../../../../arduino/samd/variants/{build.variant}/{build.openocdscript} -c "program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset"
138+
tools.edbg.bootloader.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset"

0 commit comments

Comments
 (0)