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.
在使用sysconfig v1.21工具进行I2C配置时,不勾选Default I2C Module Clock Frequency选项,生成的代码会调用I2C_initControllerModuleFrequency函数,此时生成的代码在代用该函数后缺少";",导致编译报错。
自动生成的代码如下,注意标红行末尾缺少分号:
您好,
确实有此问题,感谢您的反馈。
请使用附件 /cfs-file/__key/communityserver-discussions-components-files/1039/i2c.board.c.xdt
将此文件替换为 C:tic2000C2000Ware_5_04_00_00driverlib.metai2c 文件夹中可用的文件。