-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL support needed, Unable to find mounted pico. #10
Comments
Here's a workaround you (and anyone else who stumbles across this issue) can use: Add a shell script #!/bin/sh
mkdir -p ./target/publish/
elf2uf2-rs $1 ./target/publish/image.uf2 Update [target.thumbv6m-none-eabi]
# ...
runner = "./runner.sh" When you run |
@Cryowatt this is actually a good solution. |
In WSL, you can mount the drive where pico shows on Windows. For example, if pico mounts to D:\ drive, you can do:
You can automate this process by creating a custom #!/bin/sh
sudo mkdir -p /mnt/pico
sudo mount -t drvfs d: /mnt/pico
elf2uf2-rs -d $1 and updating your runner = "./runner.sh" Don't forget to:
to make it executable! |
Hi, my dev ENV is setup in WSL2.0, even though my pi pico is correctly showing up in windows, it still give this error in my WSL Ubuntu20.04
Anyway how to quick fix this?
The text was updated successfully, but these errors were encountered: