Skip to content

Commit 5d94bd0

Browse files
facchinmpillo79
authored andcommitted
unoq: remoteocd: prepare for network upload
1 parent 3a63c0c commit 5d94bd0

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

boards.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ unoq.upload.target=stm32u585zitxq
556556

557557
unoq.upload.tool=remoteocd
558558
unoq.upload.tool.default=remoteocd
559+
unoq.upload.tool.network=remoteocd_network
559560
unoq.upload.protocol=
560561
unoq.upload.transport=
561562
unoq.upload.vid=0x2341

platform.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,21 @@ tools.remoteocd.path={runtime.tools.remoteocd.path}
269269
tools.remoteocd.cmd=remoteocd
270270
tools.remoteocd.upload.params.verbose=
271271
tools.remoteocd.upload.params.quiet=
272-
tools.remoteocd.upload.pattern="{path}/{cmd}" --adb-path {runtime.tools.adb.path}/adb -s "{upload.port.properties.serialNumber}" upload -a "{upload.address}" "{build.path}/{build.project_name}.{upload.extension}"
272+
tools.remoteocd.upload.pattern="{path}/{cmd}" --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" upload -a "{upload.address}" "{build.path}/{build.project_name}.{upload.extension}"
273273

274274
tools.remoteocd.bootloader.params.verbose=
275275
tools.remoteocd.bootloader.params.quiet=
276276
tools.remoteocd.erase.pattern=
277-
tools.remoteocd.bootloader.pattern="{path}/{cmd}" --adb-path {runtime.tools.adb.path}/adb -s "{upload.port.properties.serialNumber}" upload "{runtime.platform.path}/firmwares/{bootloader.file}"
277+
tools.remoteocd.bootloader.pattern="{path}/{cmd}" --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" upload "{runtime.platform.path}/firmwares/{bootloader.file}"
278+
279+
tools.remoteocd_network.upload.protocol=network
280+
tools.remoteocd_network.upload.field.password=Password
281+
tools.remoteocd_network.upload.field.password.secret=true
282+
tools.remoteocd_network.path={runtime.tools.remoteocd.path}
283+
tools.remoteocd_network.cmd=remoteocd
284+
tools.remoteocd_network.upload.params.verbose=
285+
tools.remoteocd_network.upload.params.quiet=
286+
tools.remoteocd_network.upload.pattern="{path}/{cmd}" --adb-path "{runtime.tools.adb.path}/adb" -i "{upload.port.address}" upload -a "{upload.address}" "{build.path}/{build.project_name}.{upload.extension}"
278287

279288
#
280289
# PYOCD WRAPPER

0 commit comments

Comments
 (0)