tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

zephyr port

Open sslupsky opened this issue 5 years ago • 23 comments

Am am curious to know if you have considered porting TinyUSB to the Linux Foundation's embedded Zephyr RTOS?

sslupsky avatar Jul 06 '20 16:07 sslupsky

yeah, I would love to, but currently is too busy with other works and I am not familiar with zephyr as well. Maybe some time later this year.

hathach avatar Jul 08 '20 04:07 hathach

Did you know that this was done already? 2023-10-03-013030_816x689_scrot

https://www.youtube.com/watch?v=4Wv_X4J10Zk&t=1530

josuah avatar Oct 02 '23 23:10 josuah

Hello! I am chiming in here since I worked on this effort for a project and got a link to this issue from a colleague. I'll start the process to push my implementation of the port of TinyUSB to upstream Zephyr.

mabembedded avatar Oct 03 '23 13:10 mabembedded

One way to add a generic TinyUSB port would be the device_next driver API: it would give some generic api->ep_enqueue() method supported by all drivers, to use as an alternative to Zephyr own stack. https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/usb/udc/udc_common.c#L568

Not sure about how Host mode works.

josuah avatar Oct 03 '23 13:10 josuah

On a side note: Kudos for your work and thank you for the talk! It helps for going down the same route, in particular for the debugging methods.

josuah avatar Oct 03 '23 13:10 josuah

Hello! I am chiming in here since I worked on this effort for a project and got a link to this issue from a colleague. I'll start the process to push my implementation of the port of TinyUSB to upstream Zephyr.

Thank you kindly for your work. You're awesome. Can't wait to finally be rid of that god-awful zephyr usb stack.

pauleffect90 avatar Oct 10 '23 02:10 pauleffect90

superb !! Thank you very much @mabembedded for your effort :+1: . Eveen though I really want to, but unfortunately, I was a bit busy at the moment to follow up with Zephyr. I will try to catch up with you guys later.

hathach avatar Oct 24 '23 05:10 hathach

Hello! I am chiming in here since I worked on this effort for a project and got a link to this issue from a colleague. I'll start the process to push my implementation of the port of TinyUSB to upstream Zephyr.

Is this available anywhere?

RafalHalik avatar Apr 11 '24 15:04 RafalHalik

superb !! Thank you very much @mabembedded for your effort 👍 . Eveen though I really want to, but unfortunately, I was a bit busy at the moment to follow up with Zephyr. I will try to catch up with you guys later.

hey are you little free now? i would really like esp32s3 to have usb-otg support in zephyr

OrhanYigitDurmaz avatar Aug 07 '24 17:08 OrhanYigitDurmaz