forked from platformio/platformio-core
Update udev rules guide
This commit is contained in:
@ -132,29 +132,29 @@ Packages
|
||||
.. warning::
|
||||
**Linux Users**:
|
||||
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located inside a file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
""")
|
||||
|
||||
if platform == "teensy":
|
||||
lines.append("""
|
||||
**Windows Users:** Teensy programming uses only Windows built-in HID
|
||||
drivers. When Teensy is programmed to act as a USB Serial device,
|
||||
Windows XP, Vista, 7 and 8 require `this serial driver
|
||||
<http://www.pjrc.com/teensy/serial_install.exe>`_
|
||||
is needed to access the COM port your program uses. No special driver
|
||||
installation is necessary on Windows 10.
|
||||
**Windows Users:**
|
||||
|
||||
Teensy programming uses only Windows built-in HID
|
||||
drivers. When Teensy is programmed to act as a USB Serial device,
|
||||
Windows XP, Vista, 7 and 8 require `this serial driver
|
||||
<http://www.pjrc.com/teensy/serial_install.exe>`_
|
||||
is needed to access the COM port your program uses. No special driver
|
||||
installation is necessary on Windows 10.
|
||||
""")
|
||||
else:
|
||||
lines.append("""
|
||||
**Windows Users:** Please check that you have correctly installed USB
|
||||
driver from board manufacturer
|
||||
**Windows Users:**
|
||||
|
||||
Please check that you have a correctly installed USB driver from board
|
||||
manufacturer
|
||||
""")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
Reference in New Issue
Block a user