Hello All,
Giovanni, for my selfbalancing robot, I want to use ChibiOS/NIL just for test purpose and see how it react and compare it to the ChibiOS/RT.
For that, I need to build the ADC low level driver. Normally this is not used, it is just use in configuration part, for tuning my PID . But to use the ADC, I need mutex.
But when I build the ADC, I have an error, that said that mutex are not yet supported in NIL.
Note: I based my work on an old version of trunk, so maybe the support is now part of the NIL? Or if it is not the case, do you plan to add it?
Thanks.
Mutex support Topic is solved
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Mutex support
Hi,
There is no need of mutex, semaphores can be used in the same way. Look at chheap.c, the allocator uses mutexes or semaphores without problems, you could do it in the same way.
Giovanni
There is no need of mutex, semaphores can be used in the same way. Look at chheap.c, the allocator uses mutexes or semaphores without problems, you could do it in the same way.
Giovanni
Who is online
Users browsing this forum: No registered users and 3 guests