TinyUSB
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
-
- Posts: 18
- Joined: Thu May 18, 2017 11:57 am
- Has thanked: 1 time
- Been thanked: 6 times
TinyUSB
Just wondering what people think about https://github.com/hathach/tinyusb/ and perhaps of benefit if someone were to create a port for ChibiOS. I notice they have a port for FreeRTOS, and think it would unlock a lot of possibilities for ChibiOS (e.g. USB Host and Ethernet over USB) without major maintenance requirements...
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: TinyUSB
Well, it would be interesting, OSAL requirements look pretty easy to implement on top of our API.
Giovanni
Giovanni
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: TinyUSB
I'm working on a port, I'll do a pull request with one or two examples, but if you find any mistakes below let me know:
https://github.com/hathach/tinyusb/comp ... in:chibios
https://github.com/hathach/tinyusb/comp ... in:chibios
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: TinyUSB
I'm adding support in the Contrib repo:
https://github.com/ChibiOS/ChibiOS-Contrib/pull/228
Untested so far but it compiles
Will try on my F4 disco board when I have the time.
https://github.com/ChibiOS/ChibiOS-Contrib/pull/228
Untested so far but it compiles
Will try on my F4 disco board when I have the time.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: TinyUSB
Great, if it works we could include it as an extension under /ext like FatFS and lwIP.
If possible try to create all the glue code as "bindings" to be placed under /os/various.
Giovanni
If possible try to create all the glue code as "bindings" to be placed under /os/various.
Giovanni
Re: TinyUSB
mobyfab wrote:I'm working on a port, I'll do a pull request with one or two examples, but if you find any mistakes below let me know:
https://github.com/hathach/tinyusb/comp ... in:chibios
Did you open any PR there?
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: TinyUSB
no, the TinyUSB code is too "dirty" and it's much simpler to do it the other way around
I did 95% of the work but there's still a few bugs, it's here: https://github.com/ChibiOS/ChibiOS-Cont ... SB-CDC-MSC
If anyone has some time to debug it, that would be great
I did 95% of the work but there's still a few bugs, it's here: https://github.com/ChibiOS/ChibiOS-Cont ... SB-CDC-MSC
If anyone has some time to debug it, that would be great
Who is online
Users browsing this forum: No registered users and 48 guests