How to get info on allocated space usage in program

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hwo is it possible to see how much space (program mem, flash ram and sram) the compiler has allocated for a compiled program.

I use AVR GCC with AVR Studio 3.5.

Thanks in advance
Bo Jacobsen

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try a program called avr-size. Just type avr-size .elf to print all the segments in bytes.

- Larry

admin's test signature