Hello Rob,
It seems that echidna is using ev library for:
- Software timer
- Signal capability
- One (or multiple) threads
Is it possible to change the mechanism by using:
- A thread waiting for events (a periodic timer and signals)
- Windows: WaitForMultipleObjects()
- FreeRTOS: xQueueReceive()
- Linux: Don't know yet
- A dedicated timer (running at 10ms or faster) thats unblocks 1)
- Windows: Usage of periodic timer (timeSetEvent() or new API)
- FreeRTOS: Usage of kernel timers (xTimerCreate() + xQueueSend())
- Linux: Don't know yet
- Management of signals will send dedicated type of message
- Windows: Usage of a semaphore
- FreeRTOS: Usage of message queue (xQueueSend())
- Linux: Don't know yet
It will simplify port to other platforms.
What do you think ?
Best regards,
Cyril
Hello Rob,
It seems that echidna is using ev library for:
Is it possible to change the mechanism by using:
It will simplify port to other platforms.
What do you think ?
Best regards,
Cyril