统计Codec RAM和ROM方法

有二种方法,你试一下
这个也是我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
原文地址:https://www.cnblogs.com/gaozehua/p/4588606.html