I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04).
Attached my Wemos D1 Mini to the USB port, but can't upload a sketch:
An error occurred while uploading the sketch
error: cannot access /dev/ttyUSB0
Seems a bit silly that an IDE for a device in Flatpak can't access a device out of the box.
How do I fix that?
This question is about Flatpak.
What additional action is necessary to get the Flatpak version of Arduino IDE working with a device?
(IMHO Flatpak needs to provide additional info/help in some way, installing with Ubuntu Make
umake
seems easier.)
The problem is that the app starts with flatpak and that by default blocks devices. See Accessing Serial Ports with an Application Runs in Flatpak by adding
--device=all
you get it work, but see comments on link.