Loading...
 
Skip to main content

System Workbench for STM32


Memory Usage Monitor

I have a call to pvPortMalloc() in function xQueueGenericCreate() that is returning NULL. I guess this means I am out of memory, so now I need to display memory usage. I am most especially interested in viewing stack usage for a thread so I can minimize the memory reserved for it. Is there such a feature in System Workbench?
Tunisia

You can use -fstack-usage and -fcallgraph-info implemented by AdaCore

For further information on how to use these flags see this document written by AdaCore