On Aug 10, 2007, at 12:59 PM, Christopher Jenkins wrote:
Hello,
First of all, sorry if this is my second post of the same question.
My email hung and I'm not sure if the message sent.
I've just compiled my application, and it says that 4447 bytes of
RAM have been used, and I read that the most an Atmel 128 has is
4096, and you shouldn't use more than 3750. However, there is no
generated error, nor is there an error when I program the
application to a mote, but expectedly, it doesn't work.
So, I'm just trying to verify that I have exceeded the limits and
there is no process in place to tell me I've done so... I have to
realize this and modify my application.
I ran the mote-mem application and found out that my application is
"wasting" a ton of constant RAM allocation. Is there a way for me
to modify how much is allocated?
If they're constants, put them in an enum rather than a variable.
I.e., not
const int foo = g;
but
enum {
foo = 5
};
I don't know why avr-gcc doesn't balk when you exceed RAM.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help