I am currently working on the Iris motes and running very low on RAM. I
added a new command to one of the modules and noticed the RAM usage
(reported at the end of the make process) increased by abt 40 bytes even
though I did not have any local variables in the function. I checked
app.c and found t
I also noticed that all my const array of structs are being stored in
RAM. Is there any way to force const them into program memory
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listi
On 4 June 2012 09:09, Oldrine Lewis wrote:
> I also noticed that all my const array of structs are being stored in RAM.
> Is there any way to force const them into program memory
>
Yes, but that might not be what you really want. Since the Iris uses an AVR
chip, you have a Harvard memory archite
send me the program and I'll look at it.
Not sure about what exactly you are doing, but normally const do get put
into ROM
Why do you think they are in RAM?
Need more information about toolchain, cpu, etc.
On Sun, Jun 3, 2012 at 4:09 PM, Oldrine Lewis wrote:
> I also noticed that all my const
Hi Johny,
Thanks for the insight. I have moved all consts to pgm memory and accessed them
with macros, so able to liberate a few hundred bytes of RAM
I also noticed that all my const array of structs are being stored in RAM. Is
there any way to force const them into program memory
Yes, bu