<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm32/usbd_cdc_interface.c, branch azure</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=azure</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=azure'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-05-28T11:45:46+00:00</updated>
<entry>
<title>stm32/usb: Guard USB device code with #if for whether USB is enabled.</title>
<updated>2018-05-28T11:45:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-28T00:46:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aa4a7a8732a8594c932503b50152f8e60053e498'/>
<id>urn:sha1:aa4a7a8732a8594c932503b50152f8e60053e498</id>
<content type='text'>
With this change, all the USB source code can now be passed through the
compiler even if the MCU does not have a USB peripheral.
</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 CDC tx/rx funcs to take CDC state, not usbdev state.</title>
<updated>2018-05-14T06:55:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T06:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91bca340ec0a6d8c91ba4a31d25a23c81ba2c044'/>
<id>urn:sha1:91bca340ec0a6d8c91ba4a31d25a23c81ba2c044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usb: Make CDC endpoint definitions private to core usbdev driver.</title>
<updated>2018-05-14T06:53:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-14T06:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=68271a27e658e0d1ee6c70010cc1d469edd5f7d9'/>
<id>urn:sha1:68271a27e658e0d1ee6c70010cc1d469edd5f7d9</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/usbdev: Add support for high-speed USB device mode.</title>
<updated>2018-02-01T06:57:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-01T06:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db702ba722fdf266a653d885e568c0088d109d13'/>
<id>urn:sha1:db702ba722fdf266a653d885e568c0088d109d13</id>
<content type='text'>
This patch adds support in the USBD configuration and CDC-MSC-HID class for
high-speed USB mode.  To enable it the board configuration must define
USE_USB_HS, and either not define USE_USB_HS_IN_FS, or be an STM32F723 or
STM32F733 MCU which have a built-in HS PHY.  High-speed mode is then
selected dynamically by passing "high_speed=True" to the pyb.usb_mode()
function, otherwise it defaults to full-speed mode.

This patch has been tested on an STM32F733.
</content>
</entry>
<entry>
<title>stm32/usbd_cdc_interface: Don't reset CDC output buf on initialisation.</title>
<updated>2017-10-13T01:00:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-13T01:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7c7c7b161df5be99aee9dea444b6e4beacf78438'/>
<id>urn:sha1:7c7c7b161df5be99aee9dea444b6e4beacf78438</id>
<content type='text'>
So that characters can be buffered before the USB device is connected
(restoring behviour of the driver before recent state refactoring).
</content>
</entry>
<entry>
<title>stm32/usbdev: Put all state for the USB device driver in a struct.</title>
<updated>2017-09-21T11:51:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-20T07:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f8f17f48c5742714690907e768f98369d8657623'/>
<id>urn:sha1:f8f17f48c5742714690907e768f98369d8657623</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usbdev: Simplify CDC tx/rx buffer passing.</title>
<updated>2017-09-21T11:50:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-06T12:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e04b4780501f14c7452bc10e948e4c06f17af992'/>
<id>urn:sha1:e04b4780501f14c7452bc10e948e4c06f17af992</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/usbdev: Put all CDC state in a struct.</title>
<updated>2017-09-21T11:48:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-31T03:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=980b33177bbb99f4bc6472c24a0cc67bf7760679'/>
<id>urn:sha1:980b33177bbb99f4bc6472c24a0cc67bf7760679</id>
<content type='text'>
</content>
</entry>
</feed>
