mozilla-sensorweb / sensorweb-firmware

Contains all code that runs on the SensorWeb device
Mozilla Public License 2.0
4 stars 3 forks source link

Create producer-consumer tasks and IPC structures #4

Closed tdz closed 7 years ago

tdz commented 7 years ago

This patch adds the basic blocks for IPC. It adds a producer and a consumer task. The producer creates IPC messages and forwards them to the consumer.

tdz commented 7 years ago

I re-created the FreeRTOS demo from the SDK (without the bug). The patch adds the base for creating tasks and message-based IPC. I'd like to get this patch merged now, so that we are not blocked by this requirement. As outlined in my email and a comment in IPCQueue.c, efficient buffer transfers require some more work to synchronize between producer and consumer.

tdz commented 7 years ago

BTW the Travis errors come from .travis.yml not being present yet.

dhylands commented 7 years ago

Feel free to merge this once you've addressed my comments (unless you want to have more discussion).