Closed znmeb closed 2 weeks ago
I'm sorry, but it's not possible for the core to install or edit system files (you need root
privileges which aren't and shouldn't be available to the running Arduino IDE.)
You can manually add the appropriate VID/PID to your config file (via sudo
) and do a sudo udevadm control --reload
to have udev
reload your changes (or a full reboot, of course) like you said, of course, and this is the only way under Linux...
I'm testing a SparkFun Pro Micro RP2350 board on Fedora Linux 40. The install sequence is as follows:
arduino-cli core install arduino:mbed_rp2040
. This saysudev
rule fileWhat has happened is that the upload process and restart changed the
vendor:product
of the board from2e8a:000f
to1b4f:0026
. There's noudev
rule for that in the Arduino MBED rules, andarduino-cli monitor
needs/dev/ttyACM0
to be world-writable, which causes the "Permission denied". Adding the rulefixes it.
Is it possible for Arduino-Pico to include an option to install
udev
rules so I can do away with the MBED RP2040 install entirely? At this point I'm only using it to get theudev
rules.