Skip to content

Commit 869ea4c

Browse files
authored
Add flatpak-specific IDE installation instructions (earlephilhower#1317)
1 parent 71238cc commit 869ea4c

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,33 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
6464
* Generic (configurable flash, I/O pins)
6565

6666
# Installing via Arduino Boards Manager
67-
**Windows Users**: Please do not use the Windows Store version of the actual Arduino application
67+
## Windows-specific Notes
68+
Please do not use the Windows Store version of the actual Arduino application
6869
because it has issues detecting attached Pico boards. Use the "Windows ZIP" or plain "Windows"
6970
executable (EXE) download direct from https://arduino.cc. and allow it to install any device
7071
drivers it suggests. Otherwise the Pico board may not be detected. Also, if trying out the
7172
2.0 beta Arduino please install the release 1.8 version beforehand to ensure needed device drivers
7273
are present. (See #20 for more details.)
7374

75+
## Linux-specific Notes
76+
Installing Arduino using flatpak (often used by "App Stores" in various Linux
77+
distributions) will mean it has restricted access to the host. This might cause uploads to fail
78+
with error messages such as the following:
79+
80+
```
81+
Scanning for RP2040 devices
82+
...
83+
No drive to deploy.
84+
```
85+
86+
If you encounter this, you will need to either install Arduino in a different manner, or override
87+
the flatpak sandboxing feature using the following command, then restarting Arduino.
88+
89+
```
90+
flatpak override --user --filesystem=host:ro cc.arduino.IDE2
91+
```
92+
93+
## Installation
7494
Open up the Arduino IDE and go to File->Preferences.
7595

7696
In the dialog that pops up, enter the following URL in the "Additional Boards Manager URLs" field:

0 commit comments

Comments
 (0)