[INFO] Nil growing (not in size)

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.
Post Reply
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

[INFO] Nil growing (not in size)

Post by Giovanni »

Just an update.

On a separate branch, after a while, I started playing with Nil again, I think it is pretty interesting.

So far:
- Now Nil is able of full threading: chThdCreate(), chThdExit() and chThdWait().
- It is no more mandatory to declare threads in a table (it is still available as an option).
- Improved events with chEvtWaitAllTimeout().

It could also support:
- Synchronous messages.
- The full events source/listener mechanism (this could allow for an unified HAL OSAL for both RT and NIL).

Code size is the same when new features are not used, overall features are much closer to RT.

Of course RT can do a lot of other things that Nil will never cover, like: dynamic priorities, virtual timers, priority inheritance, real mutexes, condition variables, dynamic threads, advanced debugging, registry, statistics, tracing, high resolution, time measurement etc.

Giovanni
electronic_eel
Posts: 95
Joined: Sat Mar 19, 2016 8:07 pm
Has thanked: 8 times
Been thanked: 23 times

Re: [INFO] Nil growing (not in size)

Post by electronic_eel »

That is good news!

Thanks for working on NIL, as NIL+HAL is what I use most time.

Giovanni wrote:- The full events source/listener mechanism (this could allow for an unified HAL OSAL for both RT and NIL).

This is something I'd be interested in. The reduced event capabilities of NIL have sometimes limited me and prevented a more clean design.

Will the full events source/listener mechanism be possible with just static memory allocation?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [INFO] Nil growing (not in size)

Post by Giovanni »

Hi,

It does not allocate memory.

Giovanni
Post Reply