Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-31 | all: Use the name MicroPython consistently in comments | Alexander Steffen | |
There were several different spellings of MicroPython present in comments, when there should be only one. | |||
2017-06-08 | stmhal/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-07 | stmhal: Pass USB handler as parameter to allow more than one USB handler | Sylvain Pelissier | |
2017-01-19 | stmhal: 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-19 | stmhal: Fix USB HID receive not receiving the first packet. | Pavol Rusnak | |
2016-10-04 | stmhal/usb: Use real packet size (not maximum) in HID receive. | Pavol Rusnak | |
2016-10-04 | stmhal/usb: Use correct ClassData structure for HID receive. | Pavol Rusnak | |
2016-10-04 | stmhal/usb: Add support to receive USB HID messages from host. | Philip Potter | |
2016-10-04 | stmhal/usbdev: Add OUT endpoint to HID interface. | Philip Potter | |
2015-09-03 | stmhal: add option to query for the current usb mode | Tony 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-13 | stmhal: 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-13 | stmhal: Coding style cleanup in usbd_cdc_msc_hid.c. | Damien George | |
2015-02-13 | stmhal: Properly define pyb.usb_mode() semantics. | Damien George | |
2015-02-13 | stmhal: 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-13 | stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only. | Damien George | |
2015-02-13 | stmhal: 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-13 | stmhal: 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. |