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/TMS320F28335: I'm using CCS7 but getting errors.

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

I have build given CCS example code of GPIO Toggle in CCS7 but I am getting 9 errors. 

I have maintained errors below for your referees and please provided solution.

#10010 errors encountered during linking; "ay_toggle_gpio.out" not built 

#10234-D</a> unresolved symbols remain 

gmake: *** [all] Error 2 

gmake[1]: *** [ay_toggle_gpio.out] Error 1 

unresolved symbol _GpioCtrlRegs, first referenced in ./main.obj 

unresolved symbol _GpioDataRegs, first referenced in ./main.obj 

unresolved symbol _InitPieCtrl, first referenced in ./main.obj 

unresolved symbol _InitPieVectTable, first referenced in ./main.obj 

unresolved symbol _InitSysCtrl, first referenced in ./main.obj 

  • The errors are a very common linker error described in the link below:
    processors.wiki.ti.com/.../Build_Errors_in_CCS

    As mentioned in the link above, you will need to make sure you add the source or library that defines those symbols. They are likely from controlSUITE but I'm not sure exactly where (C2000 experts would know for sure).

    Thanks
    ki
  • This is a generalist answer, can't you be more specific?

    It will have some of my time Please.

    Thank you in advance

  • The link has a good exploitation of what the errors means and what potential resolutions are.

    As I mentioned earlier,  you will need to make sure you add the source or library that defines those symbols. Where are these symbols? They vary per the environment. As mentioned earlier, I am not a controlSUITE expert so it is best to as the experts in the C200 forum.

    Neeraj Deshmukh said:

    unresolved symbol _GpioCtrlRegs, first referenced in ./main.obj 

    unresolved symbol _GpioDataRegs, first referenced in ./main.obj 

    unresolved symbol _InitPieCtrl, first referenced in ./main.obj 

    unresolved symbol _InitPieVectTable, first referenced in ./main.obj 

    unresolved symbol _InitSysCtrl, first referenced in ./main.obj 

    However, when I search my controlSUITE environment I find that:

    GpioCtrlRegs and GpioDataRegs are defined in DSP2833x_GlobalVariableDefs.c

    InitPieCtrl is defined in DSP2833x_PieCtrl.c

    InitPieVectTable is defined in DSP2833x_PieVect.c

    InitSysCtrl is defined in DSP2833x_SysCtrl.c

    All these sources files come with controlSUITE. Do you have them (or equivalents) as part of your project?