[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.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

[INFO] Nil growing (not in size)

Postby Giovanni » Sun Oct 21, 2018 4:29 pm

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: 77
Joined: Sat Mar 19, 2016 8:07 pm
Been thanked: 17 times

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

Postby electronic_eel » Wed Oct 24, 2018 9:52 pm

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

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

Postby Giovanni » Thu Oct 25, 2018 7:22 am

Hi,

It does not allocate memory.

Giovanni


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 14 guests