I've noticed that when I compile my code with GCC and view the memory usage report at the bottom, it only seems to reflect global variables. I can introduce a local variable: float temp[500]; and recompile and the memory usage doesn't change at all unless I decide to make that global. I've noticed this a long time ago, and actually got into the habit of making almost all my variables global just so I could know my memory usage. Is there any other way to go about this?
Thanks,
James