Age | Commit message (Collapse) | Author |
|
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
|
|
There were several different spellings of MicroPython present in comments,
when there should be only one.
|
|
Currently just a dummy command that returns "success", but it's needed for
some O/S's to correctly talk with the SCSI layer.
|
|
|
|
This implements flow control in case user does not call recv method often
enough (it tells host side to stop sending more data).
|
|
|
|
|
|
|
|
|
|
|
|
Fetch the current usb mode and return a string representation when
pyb.usb_mode() is called with no args. The possible string values are interned
as qstr's. None will be returned if an incorrect mode is set.
|
|
When setting usb_mode to "HID", hid config object now has
polling-interval (in ms) as the 4th element. It mmust now be a 5-tuple
of the form:
(subclass, protocol, max_packet_len, polling_interval, report_desc)
The mouse and keyboard defaults have polling interval at 8ms.
|
|
|
|
|
|
Apparently the order of interface numbers should be sequential and
increasing in a config descriptor. So as to retain compatibility with
Windows drivers for the CDC+MSC and CDC+HID modes, we move the CDC
configs to the end of the descriptors, instead of changing the interface
numbers.
See PR #957 for background.
|
|
|
|
Different HID modes can be configured in Python. You can either use
predefined mouse or keyboard, or write your own report descriptor.
|
|
The unused files are from the ST demos for different USB classes and are
not needed for the stmhal port.
|