有二種方法,你試一下
這個也是我2010-03-29工做日誌
2010-03-29: 1) How to accurately get the program memory/Data RAM/Data ROM
the reference datasheet:

http://www.spiritdsp.com/datasheets/SPIRIT-iLBC-Speech-Codec-Datasheet.pdf VS2005 enable: generate map setting RVDS IDE: add link compiler optional: enable --map, --symbols, --list line: ./test.map --info totals or makefile LFLAGS += --map --info totals --symbols --list ./test.map 2) Set up YUV2RGB testing project. SpiritDSP datasheet include memory size: Program memory --- code size (bss + text) Constant memory --- RO data Dybanic memory --- RW data (heap malloc size) Scratch memory Stack memory --- RVDS can statistics the size