Tag Archives: debugging

Arduino RAM Usage Analysis

Some handy commands to analyze how much and where the RAM has gone on Atmega/Arduino: First, enable compiler verbose messages in the Arduino IDE, as you need need to see where the built binaries are stored (on my system, /tmp/build*** directory is used)

Arduino compiler nonsense

I have spent a few hours investigating where all the RAM has gone in my new Arduino project. I need to investigate newer versions (still running 1.0), I really hope there are improvements. My favorite WTFs: string constants are stored in RAM string constants can be stored in Flash. For that you need to wrap… Read More »