File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,18 @@ when using a serial port, the monitor baud rate can be set to 4800 with the foll
41
41
42
42
` $ arduino-cli monitor -p <port> --config baudrate=4800 `
43
43
44
+ ## "Permission denied" error in sketch upload
45
+
46
+ This problem might happen on some Linux systems, and can be solved by setting up serial port permissions. First, search
47
+ for the port your board is connected to, with the command:
48
+
49
+ ` $ arduino-cli board list `
50
+
51
+ Then add your user to the group with the following command, replacing ` <username> ` with your username and ` <group> ` with
52
+ your group name. Logging out and in again is necessary for the changes to take effect.
53
+
54
+ ` $ sudo usermod -a -G <group> <username> `
55
+
44
56
## Additional assistance
45
57
46
58
If your question wasn't answered, feel free to ask on [ Arduino CLI's forum board] [ 1 ] .
You can’t perform that action at this time.
0 commit comments