16
µTasker general / Re: memory allocation
« on: January 25, 2009, 01:03:30 PM »
Hi Mark,
Your solution working very fine I made tests also on real hardware.
I made tests with various allocation size and it works! But always _HEAPSIZE_ should be 20 greater than maximum allocated memory
for example:
when we use:
malloc(1024);
_HEAPSIZE_ = 1044;
and then is no problem.
Thanks for your help!!!
Regards,
robo
Your solution working very fine I made tests also on real hardware.
I made tests with various allocation size and it works! But always _HEAPSIZE_ should be 20 greater than maximum allocated memory
for example:
when we use:
malloc(1024);
_HEAPSIZE_ = 1044;
and then is no problem.
Thanks for your help!!!
Regards,
robo