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: 451
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 12 times
Been thanked: 17 times

Drivers collection

Postby mobyfab » Mon Jun 23, 2014 1:39 pm

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: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Drivers collection

Postby Tectu » Mon Jun 23, 2014 7:01 pm

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: 451
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 12 times
Been thanked: 17 times

Re: Drivers collection

Postby mobyfab » Mon Jun 23, 2014 8:56 pm

Sure this is something I can do, I just need access :)

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Drivers collection

Postby Tectu » Wed Jun 25, 2014 11:08 am

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


~ Tectu

mobyfab
Posts: 451
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 12 times
Been thanked: 17 times

Re: Drivers collection

Postby mobyfab » Wed Jun 25, 2014 12:27 pm

I have pushed to code to the repo.

Thanks!

User avatar
Giovanni
Site Admin
Posts: 13008
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 742 times
Been thanked: 620 times
Contact:

Re: Drivers collection

Postby Giovanni » Wed Jun 25, 2014 1:06 pm

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

Giovanni

mobyfab
Posts: 451
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 12 times
Been thanked: 17 times

Re: Drivers collection

Postby mobyfab » Wed Jun 25, 2014 6:15 pm

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
Location: Australia

Re: Drivers collection

Postby saraben » Thu Jun 26, 2014 1:56 am

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: 13008
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 742 times
Been thanked: 620 times
Contact:

Re: Drivers collection

Postby Giovanni » Thu Jun 26, 2014 8:13 am

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: 451
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 12 times
Been thanked: 17 times

Re: Drivers collection

Postby mobyfab » Thu Jun 26, 2014 1:05 pm

This is already planned.

I will make another branch for 3.0.

Right now it's only for 2.6.


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 3 guests