<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm32/usb.c, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-10-13T15:08:52+00:00</updated>
<entry>
<title>remove ports/stm32</title>
<updated>2019-10-13T15:08:52+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-10-13T15:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fc033bd954a46156d6902392f8ae21ac2872bb1c'/>
<id>urn:sha1:fc033bd954a46156d6902392f8ae21ac2872bb1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WIP: after merge; before testing</title>
<updated>2018-07-11T20:45:30+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-07-11T20:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7c219600a246d8956d0b23ea3f5d125a820e6b6a'/>
<id>urn:sha1:7c219600a246d8956d0b23ea3f5d125a820e6b6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Add ability to have 2x VCP interfaces on the one USB device.</title>
<updated>2018-05-14T13:44:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T13:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47ecbbbecbad117820e1c37282e7e61528e5d969'/>
<id>urn:sha1:47ecbbbecbad117820e1c37282e7e61528e5d969</id>
<content type='text'>
This patch adds the configuration MICROPY_HW_USB_ENABLE_CDC2 which enables
a new USB device configuration at runtime: VCP+VCP+MSC.  It will give two
independent VCP interfaces available via pyb.USB_VCP(0) and pyb.USB_VCP(1).
The first one is the usual one and has the REPL on it.  The second one is
available for general use.

This configuration is disabled by default because if the mode is not used
then it takes up about 2200 bytes of RAM.  Also, F4 MCUs can't support this
mode on their USB FS peripheral (eg PYBv1.x) because they don't have enough
endpoints.  The USB HS peripheral of an F4 supports it, as well as both the
USB FS and USB HS peripherals of F7 MCUs.
</content>
</entry>
<entry>
<title>stm32/usb: Change HID report funcs to take HID state, not usbdev state.</title>
<updated>2018-05-14T07:04:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T07:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2e565cc0d47f464ea02292ef4c23f12421a90169'/>
<id>urn:sha1:2e565cc0d47f464ea02292ef4c23f12421a90169</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Combine HID lower-layer and interface state into one struct.</title>
<updated>2018-05-14T06:34:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T06:34:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed92d623269a70051c59fae5e909b97779dac54e'/>
<id>urn:sha1:ed92d623269a70051c59fae5e909b97779dac54e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Combine CDC lower-layer and interface state into one struct.</title>
<updated>2018-05-14T06:15:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T06:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bf08a99ccdbe79bb13a1f28c48e31da8dbaaf6f6'/>
<id>urn:sha1:bf08a99ccdbe79bb13a1f28c48e31da8dbaaf6f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Use usbd_cdc_itf_t pointer directly in USB_VCP class.</title>
<updated>2018-05-14T05:24:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T05:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed32284b70d83c9ffd223070d8eb9cd05afc8465'/>
<id>urn:sha1:ed32284b70d83c9ffd223070d8eb9cd05afc8465</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Use correct type for USB HID object.</title>
<updated>2018-05-09T06:00:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-09T06:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c1115d931fdf3780df92233c3b7bbf2e5cbe82ca'/>
<id>urn:sha1:c1115d931fdf3780df92233c3b7bbf2e5cbe82ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Fix broken pyb.have_cdc() so it works again.</title>
<updated>2018-05-09T05:59:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-09T05:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e1bc85416a1f15edc95706ebc60255dfb7a9784a'/>
<id>urn:sha1:e1bc85416a1f15edc95706ebc60255dfb7a9784a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32: Introduce MICROPY_HW_ENABLE_USB and clean up USB config.</title>
<updated>2018-02-13T07:51:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-13T07:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5c320bd0b093f44cad19046d84a63e5ed4e7fc87'/>
<id>urn:sha1:5c320bd0b093f44cad19046d84a63e5ed4e7fc87</id>
<content type='text'>
This patch allows to completely compile-out support for USB, and no-USB is
now the default.  If a board wants to enable USB it should define:

    #define MICROPY_HW_ENABLE_USB (1)

And then one or more of the following to select the USB PHY:

    #define MICROPY_HW_USB_FS (1)
    #define MICROPY_HW_USB_HS (1)
    #define MICROPY_HW_USB_HS_IN_FS (1)
</content>
</entry>
</feed>
