File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,16 @@ serial interface:
239239make term BOARD=samr21-xpro PORT=/dev/ttyACM1
240240~~~~~~~~
241241
242+ For flashing and accessing the board via the serial interface, the current user
243+ needs to have the correct access rights on the serial device.
244+ The easiest way to ensure this is to add the current user to the group that is
245+ owning the serial device. For example, this can be achieved on Linux by issuing
246+ the following line, logging out and logging in again:
247+
248+ ~~~~~~~~ {.sh}
249+ sudo usermod -aG $(stat --format="%G" /dev/ttyACM0) $USER
250+ ~~~~~~~~
251+
242252Note that the ` PORT ` macro has a slightly different semantic in ` native ` . Here
243253it is used to provide the name of the TAP interface you want to use for the
244254virtualized networking capabilities of RIOT.
You can’t perform that action at this time.
0 commit comments