Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extra/artifacts/_common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{
"packager": "arduino",
"name": "remoteocd",
"version": "0.0.4-rc.4"
"version": "0.1.1-rc.2"
},
{
"packager": "SiliconLabs",
Expand Down
6 changes: 3 additions & 3 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,12 @@ tools.remoteocd.path={runtime.tools.remoteocd.path}
tools.remoteocd.cmd=remoteocd
tools.remoteocd.upload.params.verbose=--verbose
tools.remoteocd.upload.params.quiet=
tools.remoteocd.upload.pattern="{path}/{cmd}" upload --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" -f "{build.variant.path}/{openocd_cfg}" "{upload.verbose}" "{build.path}/{build.project_name}.{upload.extension}"
tools.remoteocd.upload.pattern="{path}/{cmd}" upload --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" -f "{build.variant.path}/{openocd_cfg}" "{upload.verbose}" "{runtime.platform.path}/firmwares/{bootloader.file}" "{build.path}/{build.project_name}.{upload.extension}"

tools.remoteocd.bootloader.params.verbose=--verbose
tools.remoteocd.bootloader.params.quiet=
tools.remoteocd.erase.pattern=
tools.remoteocd.bootloader.pattern="{path}/{cmd}" upload --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" -f "{build.variant.path}/flash_bootloader.cfg" "{upload.verbose}" "{runtime.platform.path}/firmwares/{bootloader.file}"
tools.remoteocd.bootloader.pattern="{path}/{cmd}" upload --adb-path "{runtime.tools.adb.path}/adb" -s "{upload.port.properties.serialNumber}" -f "{build.variant.path}/flash_bootloader.cfg" "{upload.verbose}" "{runtime.platform.path}/firmwares/{bootloader.file}"
Comment thread
lucarin91 marked this conversation as resolved.

tools.remoteocd_network.upload.protocol=network
tools.remoteocd_network.upload.field.password=Password
Expand All @@ -291,7 +291,7 @@ tools.remoteocd_network.path={runtime.tools.remoteocd.path}
tools.remoteocd_network.cmd=remoteocd
tools.remoteocd_network.upload.params.verbose=--verbose
tools.remoteocd_network.upload.params.quiet=
tools.remoteocd_network.upload.pattern="{path}/{cmd}" upload -a "{upload.port.address}" --password "{upload.field.password}" -f "{build.variant.path}/{openocd_cfg}" "{upload.verbose}" "{build.path}/{build.project_name}.{upload.extension}"
tools.remoteocd_network.upload.pattern="{path}/{cmd}" upload -a "{upload.port.address}" --password "{upload.field.password}" -f "{build.variant.path}/{openocd_cfg}" "{upload.verbose}" "{runtime.platform.path}/firmwares/{bootloader.file}" "{build.path}/{build.project_name}.{upload.extension}"

#
# PYOCD WRAPPER
Expand Down
4 changes: 3 additions & 1 deletion variants/arduino_uno_q_stm32u585xx/flash_bootloader.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ init
reset
halt
flash info 0
flash write_image erase ${filename}
if {[catch {flash verify_image ${filename0}}] != 0} {
flash write_image erase ${filename0}
}
reset
shutdown
7 changes: 6 additions & 1 deletion variants/arduino_uno_q_stm32u585xx/flash_sketch.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ init
reset
halt
flash info 0
flash write_image erase ${filename} 0x8100000 bin
if {[catch {flash verify_image ${filename0}}] != 0} {
flash write_image erase ${filename0}
}
if {[catch {flash verify_image ${filename1} 0x8100000 bin}] != 0} {
flash write_image erase ${filename1} 0x8100000 bin
}
reset
sleep 100
mww 0x40036400 0xCAFFEEEE
Expand Down
Loading