Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud



Andrey Mikhalchuk’s Blog

Technoblog about life

Aug 4, 2011 How to find out the SRAM consumption of an Arduino sketch

  • Build the sketch
  • Find /tmp/build*.tmp folder. There should be one, if you see multiple then rm -rf /tmp/build*.tmp and rebuild the sketch. Only one build folder should be in the /tmp (for simplicity
  • run avr-size /tmp/build*.tmp/[sketch_name].elf
  • sum of data and bss values if the number you’re looking for
Site Map (c) Andrey Mikhalchuk, 2005-2008