File tree Expand file tree Collapse file tree 2 files changed +422
-140
lines changed Expand file tree Collapse file tree 2 files changed +422
-140
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -238,6 +238,14 @@ tools.remoteproc_gen.upload.params.verbose=
238
238
tools.remoteproc_gen.upload.params.quiet=
239
239
tools.remoteproc_gen.upload.pattern="{busybox}" sh "{path}/{script}" generate "{build.path}/{build.project_name}.elf" "{build.path}/run_arduino_{build.project_name}.sh"
240
240
241
+ # OpenOCD sketch upload
242
+ tools.openocd_upload.path={openocd_dir}
243
+ tools.openocd_upload.cmd=bin/openocd
244
+ tools.openocd_upload.cmd.windows=bin/openocd.exe
245
+ tools.openocd_upload.upload.params.verbose=-d2
246
+ tools.openocd_upload.upload.params.quiet=-d0
247
+ tools.openocd_upload.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.protocol}.cfg -f target/{openocd.target}.cfg -c "program {build.path}/{build.project_name}.elf verify reset exit"
248
+
241
249
#
242
250
# Debugger
243
251
#
@@ -251,3 +259,4 @@ debug.server.openocd.scripts_dir={openocd_dir}/openocd/scripts
251
259
# Common config
252
260
debug.server.openocd.scripts.0=interface/stlink.cfg
253
261
debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_hla.cfg
262
+ debug.server.openocd.scripts.2=target/{openocd.target}.cfg
You can’t perform that action at this time.
0 commit comments