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: 导入c2000ware的例程会报错

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

导入C2000ware中的例程后出现了报错说没有包含头文件,但是头文件的已经包含在${PROJECT_ROOT}/device路径中,请问这是什么原因?

有没有解决办法

  • 您好,
    请确认您截图中指定的驱动程序库包含路径应包含 "driverlib" 文件夹,例如
    "C:\ti\c2000\C2000Ware_5_04_00_00\driverlib\f2837xd\driverlib“
    报错原因是由于您已将 "inc" 添加到此包含路径中,因此它在此文件夹中查找 "inc/hw_memmap.h" 文件,但该文件不存在导致报错。