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.

TMS320F28054F: C2000 Compilier: Structure Initialization of internal Variables

Part Number: TMS320F28054F

Hello,

in gcc we can write the initialization of an struct like:

Fullscreen
1
2
3
4
MyStrct_t MyStruct = {
.var2 = 0x0123,
.var1 = 0x4567
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

with the point before the internal variable of the struct.

In C2000 it doesn´t work. Does it give somethink like this?

Thanks for answering.

regards

David