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.

Compiler/TMS570LS0714: About structure variable address.

Part Number: TMS570LS0714


Tool/software: TI C/C++ Compiler

HI Champ,

For example I have below structure variable define, after compiling , there just has gMotorVars addess in the map file, does it possible to generate all the variable  address with in this structure like gMotorVars.Rr_Ohm and  gMotorVars.Lsd_H in .map or in .out file?

typedef struct _MOTOR_Vars_t_

{

float_t MagnCurr_A;

float_t Rr_Ohm;

float_t Rs_Ohm;

float_t RsOnLine_Ohm;

float_t Lsd_H;

float_t Lsq_H;

float_t Flux_VpHz;

}MOTOR_Vars_t;

 

volatile MOTOR_Vars_t gMotorVars;