Reply by Brad Griffis September 22, 20042004-09-22
I believe that both heaps are "valid."  Typically if you were NOT using BIOS 
then you would declare your heap in the linker options so that it would 
allocate some space for it.  You would then use malloc() in order to use 
memory from that heap.  With BIOS it is typical to declare your heaps in 
BIOS by checking the "create a heap in this memory" box.  You would then use 
MEM_alloc() to use memory from the various heaps.  I suppose you could use 
both simultaneously but I think it makes more sense to just pick one or the 
other.  If you use both then the linker will include the code for both 
functions in your .out file which will just unnecessarily bloat your memory 
usage.

Brad

"rose" <axlrose@263.net> wrote in message 
news:6ff10342.0409191928.41f63d85@posting.google.com...
> Hi, all, > > Who can tell me the difference between defining Heap size using > DSP/BIOS configuration tool and using linker option "-heap"? If both > are defined, which is the valid one? > > The same question also comes to me when talking about "stack size". > > Thanks for any comments and suggestion! > > Rose
Reply by rose September 20, 20042004-09-20
Hi, all,

Who can tell me the difference between defining Heap size using
DSP/BIOS configuration tool and using linker option "-heap"? If both
are defined, which is the valid one?

The same question also comes to me when talking about "stack size".

Thanks for any comments and suggestion!

Rose