• Reset Heap & malloc/free
    Hi there, Is there a way to re-initialize the whole heap region? It should also reset "internal pointer" of the malloc method. I use malloc/free in only one task and I want to start/stop this task...
  • malloc/free is there a way ....
    malloc/free is there a way to see if all match? I am exposed to this project where malloc is liberally spread all over the place and wonder if memory get freed up in all cases. I would hate to see...
  • C166 V.5 XLARGE malloc and free
    If I include malloc.c, free.c and init_mem.c from Keil/C166/Lib directory into my project it will not link. I get the following linker errors: *** WARNING L7: MODULE NAME NOT UNIQUE MODULE: C:\KEIL...
  • C166 V.5 XLARGE malloc and free
    In my project I have to modify malloc and free. So I copy the xfree.c and xmalloc.c source files and insert my changes. But when I run the program in my emulator I can see that the program do not call...
  • Calculate free remaining stack space
    Hi, I would like to calculate the free remaining stack space during run time. I tried to access the r13 register with: LPSTR pcSP; { register volatile int mySP __asm("sp"); pcSP= (LPSTR)mySP;...