Adapting other libraries with ChibiOS
Posted: Sat Feb 27, 2016 10:53 pm
Hi, I am using Arduino and nRF24l01+ radio for some tests of WSN projects. To use this radio, the best driver/library I have seen so far is tmrh20's ( https://github.com/TMRh20/RF24 ). Until now, I implemented my projects without any OS, but recently some mechanisms demanded preemption, mutual exclusion and threads would also be welcome , so I thought that using ChibiOS/RT or NIL would be useful.
Is there a way to use these OS with tmrh20's library without modifying it to use HAL?
Would it work if I executed the radio methods (which use SPI) as atomic operations, in order to keep using this library?
Thanks
Is there a way to use these OS with tmrh20's library without modifying it to use HAL?
Would it work if I executed the radio methods (which use SPI) as atomic operations, in order to keep using this library?
Thanks