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.

CCS/TMS320F28379D: Including device.h issue a compilation problem.

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi all,

I am using the TMS320F28379D launchpad. I used the  device.h to include pin definition.

I have a compilation problem when I include the device.h  header file,

"C:/ti/c2000/C2000Ware_2_00_00_03/driverlib/f2837xd/driverlib/adc.h", line 176: error #41: expected an identifier
"C:/ti/c2000/C2000Ware_2_00_00_03/driverlib/f2837xd/driverlib/adc.h", line 177: error #41: expected an identifier

In the adc.h file,  the compiler prompted "expected an identifier" to the following lines

typedef enum
{
ADC_RESOLUTION_12BIT = 0x00, //!< 12-bit conversion resolution
ADC_RESOLUTION_16BIT = 0x40 //!< 16-bit conversion resolution
} ADC_Resolution;

 

Thank you in advance ,

S.Tarik,