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.

TMS320F280049C: ELF file generate

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

I want to create ELF Output format instead of  legacy  OFF. I tried to use Existing example project.just change only Output Format to ELF. after that compile the code. it shows below error. 

<Linking>

undefined first referenced
symbol in file
--------- ----------------
F28x_usDelay ./f28004x_sysctrl.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "sci_ex1_echoback.out" not built

>> Compilation failure
makefile:152: recipe for target 'sci_ex1_echoback.out' failed
gmake[1]: *** [sci_ex1_echoback.out] Error 1
makefile:148: recipe for target 'all' failed
gmake: *** [all] Error 2

  • This ...

    undefined first referenced
    symbol in file
    --------- ----------------
    F28x_usDelay ./f28004x_sysctrl.obj

    ... means the file f28004x_sysctrl.obj refers to the symbol F28x_usDelay (probably a function call).  It is likely some other library or object file in the build is still built for COFF, and defines the symbol _F28x_usDelay.  Note the leading underscore.

    I'm not sure of the best solution.  If F28x_usDelay comes from C2000Ware, or a similar package, then change to the variant of the package built for EABI. If F28x_usDelay comes from source code in your application ... Learn how to change it by reading the COFF Underscore Name Mangling part of the article C2000 Migration from COFF to EABI.

    Thanks and regards,

    -George