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.

[参考译文] TMS320F2.8377万S:can.h的头文件问题

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/571996/tms320f28377s-header-file-problem-with-can-h

部件号:TMS320F2.8377万S
主题中讨论的其他部件:controlSUITEC2000WARE

C2000团队,

  对于带有can.h文件的F2837xD,F2837xS,F2807x和cgtools v 16.9 .1.LTS (CCSv7),存在头文件问题。  导入并构建任何示例,例如'CAN_Loop_cpu01',甚至是'Blinky'。  F28xxx_can.h文件抛出构建错误:

 

 

 

 

 

 

 

我在device.h中看到了以下内容:

 

#if __TI_Compiler_version__>= 1600.6万

typedef unsigned int bp_16 __attribute__((byte_peripheral));

typedef unsigned long bp_32 __attribute__((byte_peripheral));

#endif

 

//

//包括所有外设头文件:

//

#include "F2837xS_ADC.h"

包括"F2837xS_analogesubsys.h"

#if __TI_Compiler_version__>= 1600.6万

#include "F2837xS_CAN.h"

#endif

 

 

有些东西是不好的。

此致,

David