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.

[参考译文] LAUNCHXL-F28P65X:EtherCAT 示例编译器错误-缺少 applicationObjDic 定义

Guru**** 2473270 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1471585/launchxl-f28p65x-ethercat-example-compiler-error---miss-applicationobjdic-definitation

器件型号:LAUNCHXL-F28P65X

工具与软件:

尊敬的专家:

我的客户正在运行 CPU1回显示例、他们使用了 SSC 工具生成了代码并将其粘贴到工程文件夹中。 但是、它们仍然缺少变量 applicationObjDic whem 编译器的标识符错误。

他们在搜索工程时无法找到此变量。

他们缺少什么?

此致、

挂起

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

    尊敬的 Hang:

    应在"f28p65x_cpu1_echobackobjects.h"文件中对其进行定义、但在它未通过之前存在"#ifdef"的预处理器检查。

    //
    // Application Object Dictionary
    //
    #ifdef _OBJD_
    TOBJECT OBJMEM ApplicationObjDic[] = {

    它们在编译时是否看到一些错误? 你可以展示给我吗? 我编译缺省项目时没有收到错误。

    此致!

    Kevin