Drivers collection

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Drivers collection

Post by mobyfab »

Hey,

I'm starting a driver collection as there are some really usefull ones that are not in Chibi yet.
The idea is to have an easy way to use external drivers.

https://github.com/fpoussin/ChibiOS-Drivers

If you find any other drivers you'd like to integrate, post it here.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Drivers collection

Post by Tectu »

Hi mobyfab,

Would you like to put that repository under the ChibiOS github account? I think that would make sense.
Also, I'd suggest to keep a list of available and implemented drivers as part of the readme.


~ Tectu
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: Drivers collection

Post by mobyfab »

Sure this is something I can do, I just need access :)
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Drivers collection

Post by Tectu »

You should have full access to the repository: https://github.com/ChibiOS/ChibiOS-Drivers


~ Tectu
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: Drivers collection

Post by mobyfab »

I have pushed to code to the repo.

Thanks!
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Drivers collection

Post by Giovanni »

Good work, for me it is hard to add code without an active maintainer.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: Drivers collection

Post by mobyfab »

We'll try to keep the driver models as close to the original HAL API as possible.

I hope many people will contribute, it can become really useful in the future.
saraben
Posts: 40
Joined: Thu Sep 20, 2012 12:37 am

Re: Drivers collection

Post by saraben »

mobyfab,
Thinking ahead a bit.
Can I suggest separating contributions into those useable with ChibiOS V2 (hal) and V3 (hal_osal).
If files are mixed in the same directories it will lead to confusion.

Regards
saraben
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Drivers collection

Post by Giovanni »

Good idea, V3 could simplify this work too, the organization is better and platforms can be added as link from the main repository, see for example the SPC5xx directories, the support for those devices is handled outside ChibiOS.

V3 will allow to:
1) Use the drivers with any OS or without OS as long an OSAL adapter is implementable.
2) HAL platform can be handled as independent projects, see SPC5xx. The platform maintainers have to provide a directory with drivers, one for test applications and one for demos.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: Drivers collection

Post by mobyfab »

This is already planned.

I will make another branch for 3.0.

Right now it's only for 2.6.
Post Reply