Page 1 of 2
Drivers collection
Posted: Mon Jun 23, 2014 1:39 pm
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-DriversIf you find any other drivers you'd like to integrate, post it here.
Re: Drivers collection
Posted: Mon Jun 23, 2014 7:01 pm
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
Re: Drivers collection
Posted: Mon Jun 23, 2014 8:56 pm
by mobyfab
Sure this is something I can do, I just need access

Re: Drivers collection
Posted: Wed Jun 25, 2014 11:08 am
by Tectu
You should have full access to the repository:
https://github.com/ChibiOS/ChibiOS-Drivers~ Tectu
Re: Drivers collection
Posted: Wed Jun 25, 2014 12:27 pm
by mobyfab
I have pushed to code to the repo.
Thanks!
Re: Drivers collection
Posted: Wed Jun 25, 2014 1:06 pm
by Giovanni
Good work, for me it is hard to add code without an active maintainer.
Giovanni
Re: Drivers collection
Posted: Wed Jun 25, 2014 6:15 pm
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.
Re: Drivers collection
Posted: Thu Jun 26, 2014 1:56 am
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
Re: Drivers collection
Posted: Thu Jun 26, 2014 8:13 am
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
Re: Drivers collection
Posted: Thu Jun 26, 2014 1:05 pm
by mobyfab
This is already planned.
I will make another branch for 3.0.
Right now it's only for 2.6.