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.

TMS320F28377S: Header file problem with can.h

Part Number: TMS320F28377S
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

C2000 Team,

There is a header file problem for F2837xD, F2837xS, F2807x with the can.h file, and cgtools v16.9.1.LTS (CCSv7).  Import and build any of the examples, say ‘can_loopback_cpu01’, or even ‘blinky’.  The F28xxx_can.h file throws build errors:

 

 

 

 

 

 

 

I see in device.h there is this:

 

#if __TI_COMPILER_VERSION__ >= 16006000

typedef unsigned int bp_16 __attribute__((byte_peripheral));

typedef unsigned long bp_32 __attribute__((byte_peripheral));

#endif

 

//

// Include All Peripheral Header Files:

//

#include "F2837xS_adc.h"

#include "F2837xS_analogsubsys.h"

#if __TI_COMPILER_VERSION__ >= 16006000

#include "F2837xS_can.h"

#endif

 

 

Something is amiss.

Regards,

David