The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

CODECOMPOSER: Migrating a DSP/BIOS application, errors "#20 identifier "Arg" is undefined"

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: TMS320C28345, SYSCONFIG

Hello,

 

I am attempting to update a C2000 project (TMS320C28345) from CCS4 and DSP/BIOS to CCS10 and SYS/BIOS.

I used the "Migrating a DSP/BIOS 5 Application to SYS/BIOS 6" as reference.

Used the ti.bios.conversion tool to create a new .cfg file and created a new project in CCS10 with it.

After copying the source from the old project in and fixing the include paths, I am getting 400+ errors of the same type:

#20 identifier "Arg" is undefined

"BUF_alloc"

"DATALOG_ISR"

Ect.

Many are from the /DSP2834x_common/ files.

 

Using the following tool versions:

CCS Version: 10.4.0.00006

TI C2000 v20.2.5.LTS

SYS/BIOS 6.83.0.18

SysConfig 1.9.0

XDCtools 3.62.1.15_core

Any suggestions on what is causing this would be appreciated. Thank you.

  • There's this note in xdc/std.h

    /* xdc_Arg is defined only in ti/targets/std.h; use IArg and UArg instead */
    #ifdef xdc__ARG__
    typedef xdc_Arg         Arg;
    #endif

    Looks like maybe Arg was deprecated in favor of IArg/UArg.

    For the DSP2834x_common files, can you double check that the related header file locations are added to the #include path properly?

    Whitney