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.
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