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 example compiler error - miss applicationObjDic definitation

Part Number: LAUNCHXL-F28P65X

Tool/software:

Hi Experts,

My customer is running the CPU1 echoback example, they have used SSC tool to generated codes and pasted them to the project folder. However, they still have a missing identifier error of variable applicationObjDic whem compiler.

They cannot find this variable when searching through the project.

What are they missing?

Regards,

Hang

  • Hi Hang,

    It should be defined in 'f28p65x_cpu1_echobackobjects.h' file, but there's an '#ifdef' pre-processor check before it that doesn't pass.

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

    Are they seeing some error when compiling? Can you show it to me? I do not get an error when compiling the default project.

    Best,

    Kevin