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(
" ".join(
[
join(platform.get_package_dir("tool-rp2040tools") or "", "elf2uf2"),
"elf2uf2",
'"%s"' % elf_file,
'"%s"' % elf_file.replace(".elf", ".uf2"),
]
@ -284,7 +284,7 @@ if upload_protocol == "mbed":
]
elif upload_protocol == "picotool":
env.Replace(
UPLOADER=join(platform.get_package_dir("tool-rp2040tools") or "", "rp2040load"),
UPLOADER="rp2040load",
UPLOADERFLAGS=["-v", "-D"],
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
)

View File

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