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.

controlsuite程序移植新的工程,编译报错

Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

遇到一个问题,官方例程-hv1phdcac_board,单相逆变电源工程移植到自己新建的工程时,会报错。报错内容为:

a value of type "int16" cannot be assigned to an entity of type "union DBFED_REG" hv1phdcac_board.c /voltageSourceInverterLCFltr line 565 C/C++ Problem。

新的工程,路径已经指向controlsuite库路径,原工程编译并不会报出此问题,请问是什么原因呢?将此相关的语句屏蔽后就可以编译通过了。