Running freertos on AVR UC3A EVK1100 dev board and I have run into a few problems using queues.
I have two task, one which receives data from usb connection and another which does something with the data. I wish to setup up a queue to communicate between the two.
However whenever I attempt to place data onto the queue I can only add 1 item, despite the fact the queue is 32 items deep. If I add another element the code crashes and nothing else on the board continues to run.
Has anyone else had any issues, or can post some sample code demonstrating queue usuage between threads.
Currently I am declaring a global variable and using createqueue() inside one of the tasks.