By default the TinyOS call stack can use all of RAM that is not used by 
the data and BSS segments.  So basically you need to reduce the sizes of 
these other segments, by reducing the number and/or size of global 
variables declared by components linked into your application.  One 
obvious way to start is by seeing if your app links in any arrays that can 
be made smaller.

Someone should write a mini-FAQ on dealing with RAM constraints.  I don't 
have time.  Or maybe something like this exists already?

John Regehr



> Hi,
> 
> I need to specify a larger stack size than the default one in nesC compiler.
> Does anyone know how this is done? What is the default stack size allocated
> by the linker?
> 
> Thank you,
> ~Radhika
> 
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to