circuitpython/ports/stm32/usbdev/class/inc
Damien George 47ecbbbecb stm32/usb: Add ability to have 2x VCP interfaces on the one USB device.
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.
2018-05-14 23:44:45 +10:00
..
usbd_cdc_msc_hid0.h stm32/usb: Add ability to have 2x VCP interfaces on the one USB device. 2018-05-14 23:44:45 +10:00
usbd_cdc_msc_hid.h stm32/usb: Add ability to have 2x VCP interfaces on the one USB device. 2018-05-14 23:44:45 +10:00
usbd_msc_bot.h stm32/usbdev: Convert files to unix line endings. 2018-05-11 23:03:52 +10:00
usbd_msc_data.h stm32/usbdev: Convert files to unix line endings. 2018-05-11 23:03:52 +10:00
usbd_msc_scsi.h stm32/usbdev: Convert files to unix line endings. 2018-05-11 23:03:52 +10:00