summaryrefslogtreecommitdiff
path: root/py/modstruct.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-07-03 11:51:13 +1000
committerDamien George <damien.p.george@gmail.com>2019-07-03 11:51:13 +1000
commit46b3cc4572036c9e2185b4aa8fb77dff29967680 (patch)
treea73f1d70b1fb87d31286eb96204b73e9a7a11d2c /py/modstruct.c
parent6d2e654b1411d0816c8f7eaa159b9c57a2617859 (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/modstruct.c')
0 files changed, 0 insertions, 0 deletions