platformio / platformio/platform-raspberrypi
Temporary solution for FW uploading in windows
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 94
- Forks
- 141
- PR merge metrics
- No merged PRs in 30d
Description
platformio.ini
[env:pico]
platform = raspberrypi
board = pico
framework = arduino
upload_protocol = mbed
upload_port = E:
platforms/raspberrypi/builder/main.py
`
if upload_protocol == "mbed":
upload_actions = [
env.VerboseAction(env.AutodetectUploadPort, "Looking for upload disk..."),
env.VerboseAction(env.UploadToDisk, "Uploading $SOURCE")
]`
must be replaced to
`
if upload_protocol == "mbed":
target_firm = join("$BUILD_DIR", "${PROGNAME}.uf2")
env.Replace(
UPLOADER="copy",
UPLOADERFLAGS=target_firm,
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $UPLOAD_PORT >NUL")
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
`
now uploading works!..
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the mbed upload handling in platforms/raspberrypi/builder/main.py and the [env:pico] settings in platformio.ini. Verify the proposed Windows upload path against the existing upload actions, then confirm that firmware uploads successfully to the Raspberry Pi Pico on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, raspberry-pi
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100