[RFC] Ideas for ChibiOS/RT 3.0

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
saraben
Posts: 40
Joined: Thu Sep 20, 2012 12:37 am
Location: Australia

Re: [RFC] Ideas for ChibiOS/RT 3.0

Postby saraben » Thu Apr 17, 2014 8:30 am

In the SPI driver,
The "idle" words be configurable for spiIgnore() and spiStartIgnore() or a similar function added.
Preferably set on a per call basis or alternatively on a compile configuration basis.
The use for this is for efficently filling or clearing divices with many ram locations such as LCDs or serial RAM. Sometimes FF is not what is required.
Regards
saraben

moxon
Posts: 3
Joined: Wed Mar 12, 2014 7:35 pm

Re: [RFC] Ideas for ChibiOS/RT 3.0

Postby moxon » Mon Apr 28, 2014 8:11 pm

Hi Giovanni,

I'm developing WSN firmware (Wireless Sensor Nodes) using ChibiOS/RT 2.6.3,
and would like to help with the new 3.0 version development where I can.

I'm interested primarily in low power WSN type requirements :
1) Tickless Scheduler
2) Save/Restore state for sleep modes
3) 6lowpan stack as well as TCP/UiP stack.
4) routing algorithm control (aka Contiki)
5) more sensor drivers.

Is there a "ChibiOS developers Howto"?
Something that gives an overall process and guidelines
for how you would prefer code to be submitted for inclusion?
In particular, a guide for drivers would be helpful.
I'm working on a bunch of LCD, camera, sensor, etc. drivers.

best regards,
Tom Moxon
www.patternagents.com

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

Re: [RFC] Ideas for ChibiOS/RT 3.0

Postby Giovanni » Mon Apr 28, 2014 8:25 pm

Hi,

1) The tickless mode is already present in the 3.0 branch.
2) In 3.0 there are hooks for entering and leaving the idle mode that can be used to switch power mode.
3) Not sure about this part, uIP has already been ported, could you explain?
4) Not part of the RTOS itself, it would be an external layer.

In the documentation section there is a style guide about the general formatting of code and code tagging. All the drivers are descendants of a "meta driver", see under ./os/hal/templates/meta, new drivers are started from those templates and have some common functions. Under ./os/various/devices_lib there are examples of drivers for external devices.

In general try to understand and follow the patterns you can see in the organization, in general everything follows rules and is created from some kind of template.

Giovanni

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

Re: [RFC] Ideas for ChibiOS/RT 3.0

Postby Tectu » Mon Apr 28, 2014 8:30 pm

moxon wrote:I'm working on a bunch of LCD, camera, sensor, etc. drivers.

You probably want to team up with the uGFX project which started as a bunch of ChibiOS/RT LCD and touchscreen drivers.


~ Tectu


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 2 guests