eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
148 stars 88 forks source link

Any guide/doc on how to port to new hardware? #72

Open josesimoes opened 1 year ago

josesimoes commented 1 year ago

I'm looking at using USBx in a not-currently-supported-platform. I've already found #10 and #12. That's perfectly clear that the integration has to be done by silicon vendors or others need them.

What I can not find is documentation or guidance on how to go through that port process. I understand that I can start looking into one of the available ports from one of the vendors, but that doesn't look very effective nor practical.

Any pointers and guidance on this is much appreciated!

goldscott commented 1 year ago

We do not have any sort of porting guide for USBX. Your best bet is to look at a couple of the available ports. What platform are you looking at?

josesimoes commented 1 year ago

Platform is Silabs Giant Gecko S1.

That's really unfortunate!! 😯

I'll have to understand two platforms: the one that I'll be getting inspiration from and the target one. Not very efficient...

May I suggest that such documentation is produced? Kind of what exists for Azure RTOS NetX Duo Network Drivers. Otherwise this can be painfull and not very efficient to tackle. Not to mention that it doesn't promote the development for new platforms.