Hotfix uploading
This commit is contained in:
parent
1a37e2dc73
commit
673d327f62
@ -284,7 +284,7 @@ if upload_protocol == "mbed":
|
|||||||
]
|
]
|
||||||
elif upload_protocol == "picotool":
|
elif upload_protocol == "picotool":
|
||||||
env.Replace(
|
env.Replace(
|
||||||
UPLOADER="rp2040load",
|
UPLOADER='"%s"' % join(platform.get_package_dir("tool-rp2040tools") or "", "rp2040load"),
|
||||||
UPLOADERFLAGS=["-v", "-D"],
|
UPLOADERFLAGS=["-v", "-D"],
|
||||||
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
|
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
|
||||||
)
|
)
|
||||||
@ -310,7 +310,6 @@ elif upload_protocol == "picotool":
|
|||||||
# reboot after filesystem upload
|
# reboot after filesystem upload
|
||||||
upload_actions.append(env.VerboseAction(RebootPico, "Rebooting device..."))
|
upload_actions.append(env.VerboseAction(RebootPico, "Rebooting device..."))
|
||||||
|
|
||||||
|
|
||||||
upload_source = target_elf
|
upload_source = target_elf
|
||||||
|
|
||||||
elif upload_protocol.startswith("jlink"):
|
elif upload_protocol.startswith("jlink"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user