by ysapir » Mon Apr 08, 2013 11:27 pm
Albert
You can definitely use malloc(), like any other standard library function. However, using the malloc() function, *printf() and a few more that rely on dynamic memory management, will most probably not fit into the code space in the core. It is then necessary to use the fast.ldf linker script for placing libc calls in external mem, or legacy.ldf, for placing all code in external mem.
Also make sure that the heap, defined in the LDF, is where you think it is.