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.
编译代码后 报警好多是#232D nonstandard type for a bit field 报警的都是TI标准的外设寄存器定义啊 在编译器V6.1.0有此报警 这个版本以下没有 为什么?只有这个版本才支持CLA用C语言编程啊
在C28x上Unit16是被typedef成int类型,是16bit的,而int在CLA C编译器下是32bit的,所以注意在CLA C下你是否有同样类似的定义从而导致冲突。
另外,CLA C编译器由于CLA本身的硬件设计,它并不是真正的C编译器,所以有非常多的限制,建议阅读以下wiki了解更多详细信息:
http://processors.wiki.ti.com/index.php/C2000_CLA_C_Compiler