8000 doc: Note that machine.USBDevice is now available on esp32 port. · 32bitmicro/micropython@4e76acc · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e76acc

Browse files
committed
doc: Note that machine.USBDevice is now available on esp32 port.
Support was added in commit 5f2d05d, this updates the docs to match. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent 39538e4 commit 4e76acc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/library/machine.USBDevice.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
class USBDevice -- USB Device driver
55
====================================
66

7-
.. note:: ``machine.USBDevice`` is currently only supported on the rp2 and samd
8-
ports.
7+
.. note:: ``machine.USBDevice`` is currently only supported for esp32, rp2 and
8+
samd ports. Native USB support is also required, and not every board
9+
supports native USB.
910

1011
USBDevice provides a low-level Python API for implementing USB device functions using
1112
Python code.

0 commit comments

Comments
 (0)
0