Hello,
I tried to implement "Example_2803xSci_Echoback.c" with a new CCS5 project.
I included all necessary ".c" files and ".h" files:
DSP2803x_DefaultIsr.c DSP2803x_Gpio.c DSP2803x_PieCtrl.c DSP2803x_PieVect.c DSP2803x_Sci.c DSP2803x_SysCtrl.c
PeripheralHeaderIncludes.h DSP28x_Project.h
But the result of the build is:
undefined first referenced
symbol in file
--------- ----------------
_CsmPwl ./DSP2803x_SysCtrl.obj
_CsmRegs ./DSP2803x_SysCtrl.obj
_DSP28x_usDelay ./DSP2803x_SysCtrl.obj
_FlashRegs ./DSP2803x_SysCtrl.obj
_GpioCtrlRegs ./DSP2803x_Sci.obj
_PieCtrlRegs ./DSP2803x_PieVect.obj
_PieVectTable ./DSP2803x_PieVect.obj
>> Compilation failure
_SciaRegs ./main.obj
_SysCtrlRegs ./DSP2803x_SysCtrl.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "SCI UART TEST.out" not built
gmake: *** [SCI UART TEST.out] Error 1
gmake: Target `all' not remade because of errors.
That means, it may could not reference to the header files because all these symbols are in the header files.
And by the way I made sure that in the project properties for "include option" that it referenced to the right path.
I am using "DRV8302-HC-C2-KIT #Piccolo F28035" and Code Composer Studio 5.
((SCI UART TEST is the name of my project))
Thanks
Khaled