Open NathanRoyer opened 1 year ago
Once you merge in the changes from #1081, feel free to mark this as "ready for review" and then request a review from me.
Ok this is ready for a first review.
I just added a command line toggle for USB emulation: usb_hid=yes
(default=no).
This PR brings early support for EHCI USB controllers. It currently supports directly connected High Speed devices (no hub / low-speed device / full speed device support), and allows:
NB 1: USB Requests work on top of control transfers.
High Level Todos:
NB 2: isochronous transfers are low-priority because they're a legacy concept and they were mainly use for audio, which we don't support in theseus.
Low Level Todos:
Option<Interface>
so that they can be removed from the controllers while they in turn modify the controllers themselves. It's pretty ugly.