Is there a way to get the compiler in IDE 1.0.5 to report declared data storage size as it does with code size?
I could do it by hand of course, but that's a pain when making incremental changes to the architecture.
Is there a way to get the compiler in IDE 1.0.5 to report declared data storage size as it does with code size?
I could do it by hand of course, but that's a pain when making incremental changes to the architecture.
No, but I think the new beta 1.5.6 has that: http://arduino.cc/en/Main/Software#toc3
However, the data size is an estimate.
Have you tried this: Arduino Playground - AvailableMemory
I have, but use of the Serial.* functions clouds the issue to the point of being useless. Guess I'll have to do it by hand. Or dig deeper into avr-gcc to see if there's something.
You have tried beta 1.5.6 or you have tried the AvailableMemory ? or both ?
My Arduino Mega 2560 has a webpage running on it, and it displays the AvailableMemory. So I can see if the the memory doesn't get eaten by something. I don't use large buffers on the stack, so I assume that my sketch will still run with 100 bytes free. Luckely there is more memory available at the moment.