Memory usage on microcontroller programs

This is only a short post, mostly to remind myself. When writing code for microcontrollers, memory usage is often a concern – both for flash and for RAM. Currently I am using an AVR32 processor with 512kb flash and 64kb RAM, which is plenty for a lot of applications, but in some cases particularly the RAM can become thin. Fortunately there are multiple ways to monitor memory usage, and figure out where the memory is used:

Continue reading “Memory usage on microcontroller programs”