summaryrefslogtreecommitdiff
path: root/stmhal/usbdev/class/src
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
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.
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2017-06-08stmhal/usbdev: For MSC implement SCSI SYNCHRONIZE_CACHE command.Damien George
Currently just a dummy command that returns "success", but it's needed for some O/S's to correctly talk with the SCSI layer.
2017-06-07stmhal: Pass USB handler as parameter to allow more than one USB handlerSylvain Pelissier
2017-01-19stmhal: Implement SNAK/CNAK mechanism for USB HID receive.Pavol Rusnak
This implements flow control in case user does not call recv method often enough (it tells host side to stop sending more data).
2017-01-19stmhal: Fix USB HID receive not receiving the first packet.Pavol Rusnak
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.