<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/usbdev, branch v1.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-09-03T22:30:43+00:00</updated>
<entry>
<title>stmhal: add option to query for the current usb mode</title>
<updated>2015-09-03T22:30:43+00:00</updated>
<author>
<name>Tony Abboud</name>
<email>tdabboud@hotmail.com</email>
</author>
<published>2015-08-30T21:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8d8fdcb4bec5024503b636bcdbad244bef4e6576'/>
<id>urn:sha1:8d8fdcb4bec5024503b636bcdbad244bef4e6576</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>stmhal: In USB HID driver, make polling interval configurable.</title>
<updated>2015-04-13T15:59:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-13T15:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1f68685ec462bcde572455c262cb78a53112816'/>
<id>urn:sha1:b1f68685ec462bcde572455c262cb78a53112816</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>stmhal: Remove obsolete usbdev file.</title>
<updated>2015-02-13T14:03:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-13T14:03:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c385a639e6316cba4ff0e7a859325807857d8f00'/>
<id>urn:sha1:c385a639e6316cba4ff0e7a859325807857d8f00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Coding style cleanup in usbd_cdc_msc_hid.c.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-03T22:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b157a99a8bc504e2786c539a5d6c2d052709ff77'/>
<id>urn:sha1:b157a99a8bc504e2786c539a5d6c2d052709ff77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Properly define pyb.usb_mode() semantics.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-03T22:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55d6218b9a17f23754bd00d2759800a1447599ca'/>
<id>urn:sha1:55d6218b9a17f23754bd00d2759800a1447599ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Put CDC last in config descriptors to match with iface nums.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-03T21:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=65af7ebdc5c53eebcec7950948abcc16d6a0ac6c'/>
<id>urn:sha1:65af7ebdc5c53eebcec7950948abcc16d6a0ac6c</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-03T20:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=39ce2db181ec1e06426e2a3a371d2cd535723a17'/>
<id>urn:sha1:39ce2db181ec1e06426e2a3a371d2cd535723a17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add Python-configurable USB HID mode.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-01T21:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d39c7aa517b722161a7dd792fafc5096d58beec8'/>
<id>urn:sha1:d39c7aa517b722161a7dd792fafc5096d58beec8</id>
<content type='text'>
Different HID modes can be configured in Python.  You can either use
predefined mouse or keyboard, or write your own report descriptor.
</content>
</entry>
<entry>
<title>stmhal: Remove unused usbdev files, and move used ones up a dir.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-03T10:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b384bcc5de2c20d1d985e2768729578373bd73c1'/>
<id>urn:sha1:b384bcc5de2c20d1d985e2768729578373bd73c1</id>
<content type='text'>
The unused files are from the ST demos for different USB classes and are
not needed for the stmhal port.
</content>
</entry>
<entry>
<title>stmhal: Fill in USB class/subclass/proto for CDC+HID device.</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T00:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=21dfd207caf1ea07e7d821d20a19525b72913223'/>
<id>urn:sha1:21dfd207caf1ea07e7d821d20a19525b72913223</id>
<content type='text'>
Also change HID device from keyboard to mouse (should have been mouse
all along).
</content>
</entry>
</feed>
