i've commited a small utility that parses an elf file (with readelf) and
prints a nice summary of RAM usage:
mspgcc CVS/python/msp430-ram-usage.py
it requires Python 2.3 and a working installation of the binutils for
the msp430
it can output:
- a summary in numbers (counts free space, space available for stack)
- a compact ram usage map (hexdump like, 16 bytes per line)
- detailed map with one byte per line with the name of the variable
and its size.
it could be helpful when one needs to optimize code so that it fits in a
chip with less RAM.
chris