Other Parts Discussed in Thread: TMS320C5515
Tool/software: Code Composer Studio
Hi there,
I get a campilation failure with the CSL Uart Example project.
I'm using ccs5, c55_csl_3.04, TMS320C5515
I simply open the example project without modifing it but when I build the project I get:
**** Build of configuration Debug for project CSL_UART_pollExample ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../csl_uart_polled_example.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500/bin/cl55" -v5505 -g --define="_DEBUG" --include_path="C:/ti/ccsv5/tools/compiler/c5500/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_11_38/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_11_38/packages/ti/rtdx/include/c5500" --include_path="C:/ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample/../../../inc" --include_path="C:/ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample/Debug" --diag_warning=225 --large_memory_model --ptrdiff_size=16 --algebraic --asm_source=algebraic --preproc_with_compile --preproc_dependency="csl_uart_polled_example.pp" "../csl_uart_polled_example.c"
'Finished building: ../csl_uart_polled_example.c'
' '
'Building target: CSL_UART_pollExample.out'
'Invoking: C5500 Linker'
"C:/ti/ccsv5/tools/compiler/c5500/bin/cl55" -v5505 -g --define="_DEBUG" --diag_warning=225 --large_memory_model --ptrdiff_size=16 --algebraic --asm_source=algebraic -z -m"CSL_UART_pollExample.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c5500/lib" -i"C:/ti/ccsv5/tools/compiler/c5500/include" -i"C:/Program Files/Texas Instruments/bios_5_41_11_38/packages/ti/rtdx/lib/c5500" -i"C:/Program Files/Texas Instruments/bios_5_41_11_38/packages/ti/bios/lib" -i"C:/ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample" --reread_libs --rom_model -o "CSL_UART_pollExample.out" "./csl_uart_polled_example.obj" -l"rts55x.lib" -l"rts55h.lib" "../VC5505_UART.cmd"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_SYS_setEBSR ./csl_uart_polled_example.obj
_UART_fputs ./csl_uart_polled_example.obj
_UART_init ./csl_uart_polled_example.obj
_UART_read ./csl_uart_polled_example.obj
_UART_setup ./csl_uart_polled_example.obj
error: unresolved symbols remain
>> Compilation failure
error: errors encountered during linking; "CSL_UART_pollExample.out" not built
gmake: *** [CSL_UART_pollExample.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Here some details:
Attached the csl_general.h file I'm using, where I commented the #define CHIP_C5517 line since I'm using C55155315.csl_general.h
Thank you
Regards
Stefano