aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbdev/class/src
AgeCommit message (Collapse)Author
2016-10-04stmhal/usb: Use real packet size (not maximum) in HID receive.Pavol Rusnak
2016-10-04stmhal/usb: Use correct ClassData structure for HID receive.Pavol Rusnak
2016-10-04stmhal/usb: Add support to receive USB HID messages from host.Philip Potter
2016-10-04stmhal/usbdev: Add OUT endpoint to HID interface.Philip Potter
2015-09-03stmhal: add option to query for the current usb modeTony Abboud
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.
2015-04-13stmhal: In USB HID driver, make polling interval configurable.Damien George
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.
2015-02-13stmhal: Coding style cleanup in usbd_cdc_msc_hid.c.Damien George
2015-02-13stmhal: Properly define pyb.usb_mode() semantics.Damien George
2015-02-13stmhal: Put CDC last in config descriptors to match with iface nums.Damien George
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.
2015-02-13stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only.Damien George
2015-02-13stmhal: Add Python-configurable USB HID mode.Damien George
Different HID modes can be configured in Python. You can either use predefined mouse or keyboard, or write your own report descriptor.
2015-02-13stmhal: Remove unused usbdev files, and move used ones up a dir.Damien George
The unused files are from the ST demos for different USB classes and are not needed for the stmhal port.