Add queues to the demo

asiergonzalez wrote on Tuesday, June 17, 2008:

I know that if I want to add a task to a port´s demo, first I have to delete one of them in order to being allocated into the RAM but I have a question. It is the same for the queues or I can create a new queue without deleting another one?
On the demo I have using (msp430F449) there are 9 task + idle task and 1 queue? how many queues can I add without RAM overflow?

rtel wrote on Friday, June 20, 2008:

Check the return value when you create a queue - if it is null then you did not have enough heap to create the queue.  If you run out of heap then either increase the heap size (configTOTAL_HEAP_SIZE within FreeRTOSConfig.h), or remove some more of the demo tasks.


asiergonzalez wrote on Friday, June 20, 2008:

Thanks Richard.