A note to others. Just now I was trying to program an RP2040 board using Arduino IDE 2 on Linux and got this error: "Exception: [Errno 2] No such file or directory: 'udisksctl'"
I was using an Arduino IDE installed via the software app. I had installed the Flatpack version.
Deleting the Flatpack version and downloading the Appimage from Arduino.cc fixed the issue.
I think it's something to do with flatpack security. There's probably a better fix but this is a note for future me.
2 comments:
Thank you. This solution works. Of course, you're probably better off reverting to 1.8.19 since the 2.x series seems to be full of bugs.
FYI it's possible to pseudo-manually flash the Pi Pico by copying the whole line that includes the python3 executable path that executes uf2conv.py which writes the .ino.uf2 before the "Resetting /dev/ttyACM0" line.
It's also possible to do a full manual flash by dragging the .ino.uf2 file from the ~/.cache/arduino/sketches directory onto the mounted Pi Pico.
Thanks Eric. I'm sticking with the 2.x series. I'm sure it will improve over time.
Post a Comment