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.

[参考译文] TMS320F28379D:未解析的符号

Guru**** 2540720 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1302862/tms320f28379d-unresolved-symbol

器件型号:TMS320F28379D
主题中讨论的其他器件:C2000WARE

您好!  

我有一个令人烦恼的未解析符号、我无法得出底部的解析符号。  

例如,链接器无法看到 CPUTimer_setEmulationMode ()。 但是、当我打开声明时、Code Composer Studio 能够直接跳到 cputimer.h 文件中的声明。

这是它跳转到 cputimer.h 中的声明:

我在工程属性的 include 选项部分中添加了所需的路径:

有什么想法为什么它不起作用? 我为什么不会在其他 CPUTimer_stopTimer ()等 CPUTimer_stopTimer 函数中获得错误?

谢谢。

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

    您好、Ryan、

    您能否确认您在 main.c 文件中的 device.h 和 driverlib.h 中有相应的#include。

    我还建议从 C2000Ware 导入 CPU 计时器示例并比较工程设置、以确保以类似的方式设置工程。

    此致、

    小津野市