This commit is contained in:
unknown 2021-08-18 18:59:38 +02:00
commit bb18b728ad
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ def generate_uf2(target, source, env):
env.Execute( env.Execute(
" ".join( " ".join(
[ [
join(platform.get_package_dir("tool-rp2040tools") or "", "elf2uf2"), "elf2uf2",
'"%s"' % elf_file, '"%s"' % elf_file,
'"%s"' % elf_file.replace(".elf", ".uf2"), '"%s"' % elf_file.replace(".elf", ".uf2"),
] ]
@ -284,7 +284,7 @@ if upload_protocol == "mbed":
] ]
elif upload_protocol == "picotool": elif upload_protocol == "picotool":
env.Replace( env.Replace(
UPLOADER=join(platform.get_package_dir("tool-rp2040tools") or "", "rp2040load"), UPLOADER="rp2040load",
UPLOADERFLAGS=["-v", "-D"], UPLOADERFLAGS=["-v", "-D"],
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES" UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
) )

View File

@ -18,7 +18,7 @@
"type": "git", "type": "git",
"url": "https://github.com/platformio/platform-raspberrypi.git" "url": "https://github.com/platformio/platform-raspberrypi.git"
}, },
"version": "1.1.0", "version": "1.2.0",
"frameworks": { "frameworks": {
"arduino": { "arduino": {
"package": "framework-arduino-mbed", "package": "framework-arduino-mbed",
@ -41,7 +41,7 @@
"type": "framework", "type": "framework",
"optional": true, "optional": true,
"owner": "platformio", "owner": "platformio",
"version": "~2.1.0" "version": "~2.4.0"
}, },
"framework-arduinopico": { "framework-arduinopico": {
"type": "framework", "type": "framework",