Hello,
I'm testing the uart test code using EDMA, which is found here: C:\Program Files\Texas Instruments\pspdrivers_01_30_01\packages\ti\pspiom\examples\evmOMAPL137\uart\edma\build\ccs3.
I compiled all source files and didn't show any errors. On the other hand, when I build the project, it show:
--------------------------- uartSample.pjt - Debug ---------------------------
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_EDMA3_DRV_disableLogicalChannel C:/Program Files/Texas Instruments/pspdrivers_01_30_01/packages/ti/pspiom/examples/evmOMAPL137/uart/edma/build/ccs3/../../../../../../../../ti\pspiom\uart\lib\OMAPL137\Debug\ti.pspiom.uart.a674<Uart.obj>
error: unresolved symbols remain
"Uart.c", line 3133: warning: relocation from function "uartHandleRxError" to
symbol "_EDMA3_DRV_disableLogicalChannel" overflowed; the 31-bit relocated
address 0xcf3fbaf8 is too large to encode in the 21-bit signed PC-Relative
field (type = 'R_C60PCR21' (82), file = "C:/Program Files/Texas
Instruments/pspdrivers_01_30_01/packages/ti/pspiom/examples/evmOMAPL137/uart
/edma/build/ccs3/../../../../../../../../ti\pspiom\uart\lib\OMAPL137\Debug\t
i.pspiom.uart.a674<Uart.obj>", offset = 0x000000d4, section =
".text:_uartHandleRxError")
"Uart_edma.c", line 191: warning: relocation from function "Uart_localIsrEdma"
to symbol "_EDMA3_DRV_disableLogicalChannel" overflowed; the 31-bit
relocated address 0xcf3fbb98 is too large to encode in the 21-bit signed
PC-Relative field (type = 'R_C60PCR21' (82), file = "C:/Program Files/Texas
Instruments/pspdrivers_01_30_01/packages/ti/pspiom/examples/evmOMAPL137/uart
/edma/build/ccs3/../../../../../../../../ti\pspiom\uart\lib\OMAPL137\Debug\t
i.pspiom.uart.a674<Uart_edma.obj>", offset = 0x000000c0, section =
".text:_Uart_localIsrEdma")
error: errors encountered during linking; "C:/Program Files/Texas
Instruments/pspdrivers_01_30_01/packages/ti/pspiom/examples/evmOMAPL137/uart
/edma/build/ccs3/../../bin/Debug/uartSample.out" not built
I have no idea what to do exactly to solve this problem.
Thanks for the help.