This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28377D: CCS设置通过.out或者map文件获取结构体成员的地址

Part Number: TMS320F28377D


我使用的ccs版本是8.3.0,我定义了一个结构体sTimer

typedef struct
{
  int timer1;
  int timer2;
}TIMER;
TIMER sTimer;

但map文件中找不到成员变量timer1。有没有办法对CCS进行设置,使得map文件可以显示出结构体成员的地址,或者有没有别的办法从.out或者其他编译生成的文件中,获取所有变量和结构体成员的地址呢?

我们的目标是需要所有变量地址,变量size,变量符号三个字段,用于freeMaster的map解析,如果TI生成的map或者.out能直接转换最好,不能的话我们可以自己做转换软件。