Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
mallinfo() seems to return inaccurate information. A call to mallinfo() returns the arena as 3928. It is like mallinfo is pointing to another heap and not the global heap.
I'm running an STM32F767ZI and the heap as reported by mbed_heap_size is 510808 Bytes. I can allocate objects that are hundreds of Kbytes, so this seems reasonable.
What needs to happen to have mallinfo() correctly report the global heap size, usage, etc.?
Thanks