diff --git a/builder/main.py b/builder/main.py index 178c622..2580fa8 100644 --- a/builder/main.py +++ b/builder/main.py @@ -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" ) diff --git a/platform.json b/platform.json index 3f4397d..3085d95 100644 --- a/platform.json +++ b/platform.json @@ -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",