Thread 中讨论的其他器件:TMS320C5515
工具/软件:Code Composer Studio
你(们)好。
我在 CSL UART 示例项目中遇到了编译失败。
我使用的是 ccs5、 C55_CSL_3.04、TMS320C5515
我只需打开示例项目而不修改它、但当我构建项目时、我会得到:
****为项目 CSL_UART_pollExample 构建配置调试****
C:\ti\ccsv5\utils\bin.gmake -k all
'构建文件:./CSL_UART_polled_example.c'
'调用:C5500编译器'
"c:/ti/ccsv5/tools/compiler/c5500/bin/cl55 /ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample/../../../inc /ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample/Debug "-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_proc/traine_example_ctrase_trase_trabout_trus_example.c"-proc-pref_proc-prefug_traine_trus_prob_trus_trus_trus_bulation_sense.texample_p_trus_probulation="-c_pref_trab_prob_trus_trus_trus_trus_trus_trus_trus_trus_bulation="-trus_trus_trus_band_trus_trus_trus_trus_proband_trus_trus_trus_trus_trus_probe-probe.c"-"-trab_trus_probulation
'完成构建:./CSL_UART_polled_example.c'
'
'构建目标:CSL_UART_pollExample.out'
'调用:C5500链接器'
"c:/ti/ccsv5/tools/compiler/c5500/bin/cl55 /ti/ccsv5/tools/compiler/c5500/lib /ti/c55_lp/c55_csl_3.03/c55xx_csl/ccs_v5.0_examples/uart/CSL_UART_pollExample -v5505 -g -define="_debug"-diag_warning=225 -large_memory_model -ptrdiff_size=16 -algebraic -asm_source=algebraic -z -m"CSL_uart_example.map"-ti_is段-i"-"rts5"/content/texas-instruments/r5"/content/texas-instruments/rtsprinstruments/r5"/texas-instruments/robtexas-instruments/r5"/texas-instruments/robtexas-instruments/robtexas-instruments/robtexas-instruments/robtexas-instruments/r5"/content/texas-instruments/robtexas-instruments/robtexas-instruments/r5"/content/texas-instruments/robtexas-instruments/r5"/content/texas-instruments/r5"/content/texas-instruments/robtexas-in /ti/ccsv5/tools/compiler/c5500/include
未定义的首次引用
符号
------ --------
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
错误:未解析的符号仍然存在
>>编译失败
错误:链接期间遇到错误;未构建"CSL_UART_pollExample.out"
gmake:***[CSL_UART_pollExample.out]错误1.
gmake:目标`全部'不会由于错误而重制。
****构建完成****
以下是一些详细信息:
附加了我要使用的 csl_general.h 文件、我在其中注释 了#define CHIP_C5517行、因为我使用的是 C5515e2e.ti.com/.../5315.csl_5F00_general.h
谢谢你
此致
Stefano