wish_akuze wish_akuze wrote:
> Hello
>
> I have used the IAR Embedded workbench for some time and i have
> always i justed the stack size according the memory needed by the
> variables in the code, but so far i haven't really understood the
> idea of the heap size. Can anyone give me some hints about this!
The heap is the memory available to functions like "malloc" that uses
dynamic memory allocation.
If your program doesn't use dynamic memory allocation (most embedded
applications don't) then the heap will not even be included. In other
words, this is probably irrelevant for you.
-- Anders Lindgren, IAR Systems
--
Disclaimer: Opinions expressed in this posting are strictly my own and
not necessarily those of my employer.