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.

[FAQ] [参考译文] [常见问题解答] C2000WARE:在尝试移植到新的 C2000ware 版本时遇到困难

Guru**** 1133960 points
Other Parts Discussed in Thread: C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1320202/faq-c2000ware-stuck-trying-to-port-over-to-new-c2000ware-version

器件型号:C2000WARE

将旧的 C2000WARE 版本移植到最新的 C2000WARE 版本时会出现哪些常见问题? 如何解决这些问题?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    更新使用较低版本 C2000WARE 的现有项目时、在尝试移植到新版本时可能会出现一些错误。 如果遇到构建问题、这里有一些有用的调试提示。

    1.  在最新版本的 C2000WARE (device.c/.h 文件)中更新的 error ()函数
      1. 由于 C2000WARE3.4的存在,我们更新了 error ()函数,以传递常量字符而非字符。
        1. device.c  
        2. device.h  
    2. 删除旧的预编译 driverlib.lib 并替换为最新版本
      1. 右键单击该项目
      2. 添加文件...
      3. 在以下位置找到正确的 driverlib.lib: C:\ti\c2000\c2000Ware_x_xx_xx_xx\driverlib\f28004x\driverlib\ccs\Debug
        1. 如果需要 coff 支持:driverlib_coff.lib  
        2. Eabi 支持:driverlib_eabi.lib
        3. 最常用的:driverlib.lib
      4. 您可以复制或链接文件。 我选择了复制文件。
    3. 从我们的 SDK 导入最新的连接器命令文件、