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.

[参考译文] TMDS64EVM:未构建 PRU 回波中断示例

Guru**** 2487345 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1444222/tmds64evm-pru-echo-interrupt-example-not-building

器件型号:TMDS64EVM

工具与软件:

您好!

我尝试从 PRU-Software 支持包构建回波中断示例。

由于这不是 CCS 项目、我创建了一个新的 PRU CCS projector、添加了该示例的所有文件。
之后我添加了 include 选项:  
"e:\ti\pru-software-support-package-6.4.0\include\am64x"
"e:\ti\pru-software-support-package-6.4.0\include"

以及 PRU 链接器的文件搜索路径:
"e:\ti\pru-software-support-package-6.4.0\lib\rpmsg_lib.lib"

尝试构建项目时出现错误:
"../main.c"、第60行:致命错误#35:#error 指令:"CHAN_PORT 未定义、必须使用编译器 CFLAGS"进行传递



我没有看到我必须要做的其他事情。
我是不是错过了什么?

非常感谢您提前提供的帮助!

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

    您好!

    我们的专家目前在感恩节假期的办公室外。 请预计响应时间会有所延迟。

    此致、

    Nitika

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

    设法通过在 Properties->Build->PRU Compiler->Predefined Symbols (属性->构建-> PRU 编译器->预定义符号)下添加 CHAN_PORT 来解决此问题、然后将其添加到"Pre-defined name (--define,-D)"(预定义名称[--define]中