diff options
author | Damien George <damien.p.george@gmail.com> | 2019-07-03 11:51:13 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-07-03 11:51:13 +1000 |
commit | 46b3cc4572036c9e2185b4aa8fb77dff29967680 (patch) | |
tree | a73f1d70b1fb87d31286eb96204b73e9a7a11d2c /py | |
parent | 6d2e654b1411d0816c8f7eaa159b9c57a2617859 (diff) |
stm32/usb: Add support to auto-detect USB interface, either FS or HS.
If both FS and HS USB peripherals are enabled for a board then the active
one used for the REPL will now be auto-detected, by checking to see if both
the DP and DM lines are actively pulled low. By default the code falls
back to use MICROPY_HW_USB_MAIN_DEV if nothing can be detected.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions