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/CCStudio:CSL_UART_PollExample 未解析的符号

Guru**** 2558250 points
Other Parts Discussed in Thread: TMS320C5515

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/597852/ccs-ccstudio-csl_uart_pollexample-unresolved-symbols

器件型号:CCStudio
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

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Stefano、
    首先、我建议从 software-dl.ti.com/.../index_FDS.html 获取最新的 CSL 、这是 v3.07。 您还使用哪种 C5515平台? eZdsp 或 EVM?

    Lali
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Lali、

    涂层 CSL 是否可以与 CCSv5配合使用?  

    我使用的是嵌入式电路板、具有 C5515。

    顺便说一下、我解决了添加这些库的问题、如下所示:

    这对您有道理吗?

    谢谢你

    Stefano

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Stefano、

    是的、这是有道理的、很高兴您遇到了链接器错误。 CSLv3.07应适用于 CCSv5。 请给它一个旋涡、让我知道它是怎么发生的。
    它也适用于 CCSv6。
    首先、CCSv7在运行 C55x 项目时出现问题、但这应该在即将发布的 CCSv7.2版中得到解决。

    如果您的问题得到解答、请单击"验证答案"绿色按钮、帮助我们关闭此主题。 谢谢!

    Lali
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Lali、
    由于我刚设置 CCSv7、我将要处理 C55x 项目、您建议我执行什么操作? 等待即将发布的版本? 它是稳定版本吗?还是我应该只使用 CCsv6?
    我将在 C5517上启动一个新的重要项目、我需要最稳定的开发配置。

    谢谢
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Stefano、

    是的、我现在建议使用 CCSv6.1.3、因为这是我一直在使用的器件。 在 CCS 下载页面上注册以获取通知、告知您何时可以使用 CCSv7.2。

    Lali