I use the queue functions of freertos to pass the messages among the tasks in the real-time systems. My messages are the groups of data such as arrays or structures. I have to create the queues with the message size of array or structure.
It seems to consume a lot of RAM from my systems. I can not send the pointers to the queues because there is not the dynamic mem alloc in freertos API to use to store the arrays or structures, and I do not want to use malloc function from standard C library because of the real-time predictability problem of that function.
Please suggest the solutions of my problem.
Thank you very much.