Dear Cory,
 
    I have tried to remove some unimportant components and functions from my program and it can finally compile now.  It seems that the reason is that my program originally run on MICA2 motes (128K ROM) and now I want to port it on the Telos motes (48K ROM), so the original ROM space requirment exceeds what Telos mote can support.
 
    Thank you very much for the help.
 
  Wayne 
 
On 4/1/06, Cory Sharp <[EMAIL PROTECTED]> wrote:
There isn't exactly a great approach.  There are tools to list how big
each component compiles down to.  But, once your program is too big,
the program can't compile, and the tools can't help.

tinyos-1.x/contrib/SystemC/scripts/module_memory_usage

You have two options.  1) Create a fake msp430 platform with more ram
and rom to inspect what's eating up so much space.  2) Remove some
components from your application, optimize what's left, put that stuff
back in, cross your fingers, rinse, repeat.

Cory

On 3/27/06, Wayne Xue < [EMAIL PROTECTED] > wrote:
>
> Dear All,
>
>     I got a compiler error when I am developing my own NesC program on Telos
> RevB motes. The error is the same as that post in a previous message in this
> mailing list:
> http://www.mail-archive.com/[email protected]/msg02524.html .
>  I'm not quite understand the existing answer that "the program is too big
> to be fit on the mote". Is there any detailed approach to optimize my
> program so that the problem can be solved?
>
>     Thanks a lot.
>
>   Sainep
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to