<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/usbd_desc.h, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-10-08T23:18:01+00:00</updated>
<entry>
<title>stmhal: Fix USB CDC-only mode under Windows.</title>
<updated>2015-10-08T23:18:01+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-10-03T06:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=01d64914c5517f4207c002d931efa1e71fc210d9'/>
<id>urn:sha1:01d64914c5517f4207c002d931efa1e71fc210d9</id>
<content type='text'>
This fix adds PIDs 9801 and 9802 to the pybcdc.inf file.

When in CDC only mode, it presents itself as a Communcations
device rather than as a composite device. Presenting as a
composite device with only the CDC interface seems to confuse
windows.

To test and make sure that the correct pybcdc.inf was being used,
I used USBDeview from http://www.nirsoft.net/utils/usb_devices_view.html
to uninstall any old pyboard drivers (Use Control-F and search
for pyboard). I found running USBDeview as administrator worked best.

Installing the driver in CDC+MSC mode first is recommended (since the
pybcdc.inf file in on the internal flash drive). Then when you switch
modes everything seems to work properly.

I used https://github.com/dhylands/upy-examples/blob/master/boot_switch.py
to easily switch the pyboard between the various USB modes for testing.
</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: 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: Change USB PID when in CDC+HID mode.</title>
<updated>2014-10-25T21:55:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T21:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d7353fe6fe9c9d421ef045c0eea8d4591710e1ba'/>
<id>urn:sha1:d7353fe6fe9c9d421ef045c0eea8d4591710e1ba</id>
<content type='text'>
This gets CDC+HID working on Windows, since it needs a different PID for
a different USB configuration.

Thanks to tmbinc and dhylands.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>stmhal: Put a USB structure in ROM; GC doesn't scan the data segment.</title>
<updated>2014-04-12T17:50:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-12T17:50:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=82c7b1b1d5c8ce0467bd580a86d20c645cec17df'/>
<id>urn:sha1:82c7b1b1d5c8ce0467bd580a86d20c645cec17df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add support for USB MSC device.</title>
<updated>2014-03-21T23:32:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-21T23:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8913c04831c94d2bcb82b0447ab7ccf6b2e346a6'/>
<id>urn:sha1:8913c04831c94d2bcb82b0447ab7ccf6b2e346a6</id>
<content type='text'>
This gives a functioning, independent MSC device.
</content>
</entry>
<entry>
<title>stmhal: Get USB enumerating a CDC device.</title>
<updated>2014-03-14T00:30:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-14T00:30:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b30c02afa078f7713faa14087ae28433dee49027'/>
<id>urn:sha1:b30c02afa078f7713faa14087ae28433dee49027</id>
<content type='text'>
Enumerates CDC device over USB, but doesn't transmit/receive yet.
</content>
</entry>
</feed>
