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: TMS320F28379D

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

"C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2837xd\common\include\F2837xD_GlobalPrototypes.h", line 127: error #41: expected an identifier
"C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2837xd\common\include\F2837xD_GlobalPrototypes.h", line 127: error #80: expected a type specifier
"C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2837xd\common\include\F2837xD_GlobalPrototypes.h", line 127: error #91: function returning function is not allowed

i am getting these errors for the code 

#include "driverlib.h"
#include "device.h"
#include "F2837xD_device.h"
#include "F28x_Project.h"
#include "board.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "can.h"
#include "gpio.h"


#define TX_MSG_OBJ_ID 1
#define MSG_DATA_LENGTH 8

#define DEVICE_GPIO_CFG_CANTXB GPIO_17_CANTXB
#define DEVICE_GPIO_CFG_CANTXB GPIO_12_CANTXB


uint16_t txMsgData_1[8]={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};


void main(void)
{
Device_init();

Device_initGPIO();
GPIO_setPinConfig(DEVICE_GPIO_CFG_CANTXB);
GPIO_setPinConfig(DEVICE_GPIO_CFG_CANRXB);

CAN_initModule(CANB_BASE);


CAN_setBitRate(CANB_BASE, DEVICE_SYSCLK_FREQ, 500000, 16);
CAN_setupMessageObject(CANB_BASE, TX_MSG_OBJ_ID, 0x18FB47FF,
CAN_MSG_FRAME_EXT, CAN_MSG_OBJ_TYPE_TX, 0,
CAN_MSG_OBJ_NO_FLAGS, MSG_DATA_LENGTH);
EINT;
while(1)
{
CAN_sendMessage(CANB_BASE, TX_MSG_OBJ_ID, MSG_DATA_LENGTH, txMsgData_1);
while(((HWREGH(CANB_BASE + CAN_O_ES) & CAN_ES_TXOK)) == CAN_ES_TXOK)
{

}

DEVICE_DELAY_US(1000000);
}


}

please help