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.

[参考译文] TMS320F28P650DK:CCStudio:如何包含#include "F28x_project.h"

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1409566/tms320f28p650dk-ccstudio-how-include-include-f28x_project-h

器件型号:TMS320F28P650DK
Thread 中讨论的其他器件:C2000WARE

工具与软件:

您好!

我需要帮助以正确包含"F28x_PROJECT.h"。

如果我导入了包含 syscfg 的示例工程(我在此处导入了 spi_ex4_external_loopback_fifo_interrupt.c)、很遗憾、我无法使用#include "F28x_project.h"。

然后、这会给出以下错误:





我导入了 C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f28p65x\headers\include。 现在会发生以下错误:



如果我仅使用#include "F28x_PROJECT.h"并注释掉其他项目、就不会显示错误消息。 因此、我只有在尝试包含全部四个时才会得到这个值。


有人知道该怎么做?