usb-device implementation for Synopsys USB OTG IP cores.
This project is a successor to the great work started by @mvirkkunen.
STM32F429xx
(OTG_FS and OTG_HS in FS mode)STM32F401xx
- And others...
This driver is intended for use through a device hal library.
Such hal library should implement UsbPeripheral
for the corresponding USB peripheral object.
This trait declares all the peripheral properties that may vary from one device family to the other.
Additionally, hal should pass fs
of hs
feature to the synopsys-usb-otg
library to
define a peripheral type:
fs
- for FullSpeed peripheralshs
- for HighSpeed peripherals (only FS mode with internal PHY is supported)
Only one peripheral type can be selected at the moment.
See the usb-otg-workspace repo for different device-specific examples.