<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/usb.h, branch v1.9.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-06-07T06:03:45+00:00</updated>
<entry>
<title>stmhal/usb: Make state for USB device private to top-level USB driver.</title>
<updated>2017-06-07T06:03:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-07T06:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f86c57fedffcabbec94d4b56bb45cc627f48ab55'/>
<id>urn:sha1:f86c57fedffcabbec94d4b56bb45cc627f48ab55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use generic interrupt char code.</title>
<updated>2017-02-15T05:39:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-15T05:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5cc681cb1b5163b9ae3453df85344326baf9759'/>
<id>urn:sha1:e5cc681cb1b5163b9ae3453df85344326baf9759</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.</title>
<updated>2016-10-21T05:26:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T00:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2'/>
<id>urn:sha1:4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2</id>
<content type='text'>
In order to have more fine-grained control over how builtin functions are
constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW.  These names now
match the MP_DEFINE_CONST_FUN_OBJ macros.
</content>
</entry>
<entry>
<title>stmhal: Enable two USB phys to be supported together.</title>
<updated>2015-12-09T09:56:36+00:00</updated>
<author>
<name>neilh10</name>
<email>neilh20@wLLw.net</email>
</author>
<published>2015-12-08T22:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1be0fde45c8d84eaf04851af96f06aad8171b2b2'/>
<id>urn:sha1:1be0fde45c8d84eaf04851af96f06aad8171b2b2</id>
<content type='text'>
This is refactoring to enable support for the two USB PHYs available on
some STM32F4 processors to be used at the same time. The F405/7 &amp; F429
have two USB PHYs, others such as the F411 only have one PHY.

This has been tested separately on a pyb10 (USB_FS PHY) and F429DISC
(USB_HS PHY) to be able to invoke a REPL/USB.  I have modified a PYBV10
to support two PHYs.

The long term objective is to support a 2nd USB PHY to be brought up as a
USB HOST, and possibly a single USB PHY to be OTG.
</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: 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: Reduce coupling between USB driver and readline.</title>
<updated>2014-11-27T16:58:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-27T16:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5cbc9e0db0f01e1e643e8c091a536b54372df5bd'/>
<id>urn:sha1:5cbc9e0db0f01e1e643e8c091a536b54372df5bd</id>
<content type='text'>
This makes it easier to re-use readline.c and pyexec.c from stmhal in
other ports.
</content>
</entry>
<entry>
<title>stmhal: Declare variables extern in include files</title>
<updated>2014-11-05T22:52:51+00:00</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2014-11-05T20:02:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0e0ae97975014b82f8d17c5268ee4d1d4a640d84'/>
<id>urn:sha1:0e0ae97975014b82f8d17c5268ee4d1d4a640d84</id>
<content type='text'>
Else we end up with several instances of the variable.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
</content>
</entry>
<entry>
<title>stmhal: Clean up reset/soft-reset code; fix bug init'ing VCP exc.</title>
<updated>2014-08-04T10:09:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-04T10:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccacdf44b6c5241ce05769e777008767a7ed8939'/>
<id>urn:sha1:ccacdf44b6c5241ce05769e777008767a7ed8939</id>
<content type='text'>
Make a clearer distinction between init functions that must be done
before any scripts can run (xxx_init0) and those that can be safely
deferred (xxx_init).

Fix bug initialising USB VCP exception.  Addresses issue #788.

Re-order some init function to improve reliability of
reset/soft-reset.
</content>
</entry>
</feed>
