AnsweredAssumed Answered

Disable Heap

Question asked by twp on Nov 7, 2014
Latest reply on Nov 11, 2014 by stanish

We are using the standard linker file for the MPC5643L flash build "MPC5643L_FLASH.lcf" on a product that is required not to use dynamic memory allocation.  What is the best way to disable the heap?  Removing it from the .lcf file still leaves symbols in the map file. Alternatively, changing the size in the project settings C/C++ Build -> Settings -> PowerPC Linker -> Output, to 0K doesn't seem to have any effect.  Is there a safe way to go about this and disable dynamic allocation library functions?

Outcomes