forked from platformio/platformio-core
Access to Serial Ports (USB/UART) information for dev platform
This commit is contained in:
@ -107,9 +107,17 @@ Packages
|
||||
if is_embedded:
|
||||
lines.append("""
|
||||
.. warning::
|
||||
**Linux Users:** Don't forget to install "udev" rules file
|
||||
`99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_ (an instruction is located in the file).
|
||||
**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/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/>`__.
|
||||
""")
|
||||
|
||||
if platform == "teensy":
|
||||
lines.append("""
|
||||
**Windows Users:** Teensy programming uses only Windows built-in HID
|
||||
@ -125,6 +133,7 @@ Packages
|
||||
driver from board manufacturer
|
||||
|
||||
""")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user