AnsweredAssumed Answered

Strange memory consumption

Question asked by Diego Barile on Feb 17, 2017

Hello everyone.


We starting to develop a C++ project plus FREERtos 9.x based on a MCU LPC11C24.

As soon we instatiate two empty C++ classes in the main, inside the map file we are seeing a strange memory consumption.
For example the linker reserve more than 0x400 bytes for a function named "__malloc_av_" and other 0x400 bytes for one object named "_impure_ptr".

 

We suspect that some linker options are wrong and the system puts into the RAM functions can could be stored into the Flash.

 

What is wrong?

 

I've attached our map file.

 

Thanks in advance.
Diego.

Original Attachment has been moved to: PressureLevelSensor.map.zip

Outcomes