electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
314 stars 131 forks source link

USB host interface #433

Closed CorvusPrudens closed 2 years ago

CorvusPrudens commented 2 years ago

This PR depends on #432 and adds the actual interface for handling USB host interactions.

CorvusPrudens commented 2 years ago

Note -- this actually won't correctly build since it depends on the usbh fatfs stuff. That's not really an issue, though, since it's necessarily dependent on that PR.

stephenhensley commented 2 years ago

As a basic wrapper around the STM32 middleware this seems to work fine.

I do want us to have the Config (even though its empty for now) passed into the Init function of the hid/msd class.

That way we can add stuff to that (user callbacks, etc. for #444).