diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-01 17:57:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-01 17:57:44 +1100 |
commit | db702ba722fdf266a653d885e568c0088d109d13 (patch) | |
tree | 365f5a629b1c07801cbbe89a6b23d848019729b9 /tests/basics/builtin_getattr.py | |
parent | 71312d0bd10d47e958cca71ed6f6ce5bbdc93f88 (diff) |
stm32/usbdev: Add support for high-speed USB device mode.
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.
Diffstat (limited to 'tests/basics/builtin_getattr.py')
0 files changed, 0 insertions, 0 deletions