FreeRtos Task Notifications and queues.
Posted: Wed Mar 18, 2020 3:42 am
I'm very interested in using Task notifications as an light alternative for other FreeRTOS functionality, such as binary semaphores. I've already manage to build some examples using task notification for such use, but now in a real case scenario the code keep's crashing.
I have the following situation:
Three tasks are running, Task A communicates to Task B using a queue, and Task A also communicates to Task C using task notifications. In these scenario just after I call the code crashes with the following message: everything works...
Am I missing something?
Have anyone else noticed interference between queues and task notifications?
I'm using esp-idf version 3.2.2.
Any help will or guidance will apreciated!
Thanks a lot,
Gardin.
I have the following situation:
Three tasks are running, Task A communicates to Task B using a queue, and Task A also communicates to Task C using task notifications. In these scenario just after I call
Code: Select all
xQueueSend()
If I comment out:(xQueueGenericSend)- assert failed!
Code: Select all
xQueueSend()
Am I missing something?
Have anyone else noticed interference between queues and task notifications?
I'm using esp-idf version 3.2.2.
Any help will or guidance will apreciated!
Thanks a lot,
Gardin.