I am having a problem with a STM32 and USART ISRs with the queue API. From what I understand, I should be able to fill a queue till it blocks by specifying portDELAY_MAX and having INCLUDE_vTaskDelay defined to 1.
What is occuring is it works fine for the first 5-6 or so iterations, when it then enters an infinite loop in list.c on line 150.
I read the commented warning, I have increased stack size heaps to be sure its not an overflow, and set my NVIC priority group to 4. The NVIC IRQ handler preemption priority is set to configLIBRARY_KERNEL_INTERRUPT_PRIORITY which is defined as 15.
Here is the code that I am using:
I have been desperately stuck on this problem for the last week and I am sure its a face palm type error…. If someone can please look at it and tell me where I have gone wrong it would be GREATLY appreciated.
Thanks in advance