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.

TMS320F28075: Request to review CLA variable initialization method.

Part Number: TMS320F28075

<CLAShared.h>

.

.

.

typedef struct _CPU_TO_CLA_MSG_RAM
{
Uint16 mep;
Uint16 dumy;

Uint16 ptvalue[4];

float32 KI_REF;

CNTL_CON OP_CH[4];

} CPU_TO_CLA_MSG_RAM;

#define CPU_TO_CLA_MSG_DEFAULT { 0, 0,\
KI_REF_Const, \
{(Uint16)&CvT.test_value[0] , (Uint16)&CvT.test_value[1] ,(Uint16)&CvT.test_value[2] , (Uint16)&CvT.test_value[3] },\
{{0, 0., 42., 0., 100., 100., 36., 34., 0, 0},\
{0, 0., 42., 0., 100., 100., 36., 34., 0, 0},\
{0, 0., 42., 0., 100., 100., 36., 34., 0, 0},\
{0, 0., 42., 0., 100., 100., 36., 34., 0, 0}}\
}

.

.

.

<Main.c>

.

.

.

#pragma DATA_SECTION(CpuMsg,"CpuToCla1MsgRAM")
CPU_TO_CLA_MSG_RAM CpuMsg = CPU_TO_CLA_MSG_DEFAULT;.

.

.

.

after [Build all]
#1045-D extra braces are nonstandard main.c /BB100_4CH line 18 C/C++ Problem
#1238-D excess initializers are ignored main.c /BB100_4CH line 18 C/C++ Problem


Variables and define values are not connected.

What went wrong?