Memory, Heaps, and Other Libraries

The heap you create in your linker command file becomes the default heap, so it does not need initialization. Additional memory and heap points are:

The memory allocation scheme in EWL requires the following symbols to be defined in the LCF file: ___mem_limit and ___stack_safety.

For example,

  ___mem_limit    = ___HEAP_END;
   ___stack_safety = 16;  

You may be able to use another standard C library with CodeWarrior projects. You should check the stdarg.h file in this other standard library and in your runtime libraries. Additional points are: