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.

TI-RTOS: ReferenceError: "config" is not defined

Other Parts Discussed in Thread: SYSBIOS, CONTROLSUITE

Hi,

I'm using CCSV5.4.0.00048 to create a new CCS Project for Concerto F28M35M52C1.

XCDtools: 3.25.0.39

SysBios: 6.35.0.20

TI-RTOS: 1.1.0.25

On the first dialog, I select:

Family: ARM

Variant: F28M35M52C1

Connection: Texas Instruments XDS100v2 USB Emulator

Project templates and examples: SYS/BIOS Typical

I click Next for the second dialog where I select TI-RTOS

Then I click Finish and Build Project.

I get the following error:


**** Build of configuration Debug for project Test ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_00_39_eng/xs" --xdcpath="C:/ti/bios_6_35_00_20/packages;C:/ti/tirtos_1_01_00_25/packages;C:/ti/tirtos_1_01_00_25/products/bios_6_34_04_22/packages;C:/ti/tirtos_1_01_00_25/products/ipc_1_25_02_12/packages;C:/ti/tirtos_1_01_00_25/products/ndk_2_22_01_14/packages;C:/ti/tirtos_1_01_00_25/products/uia_1_02_00_07/packages;C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.concertoM3:F28M35M52C1 -r release -c "C:/ti/ccsv5/tools/compiler/arm_5.0.4" --compileOptions "-g --optimize_with_debug" "../app.cfg"
making package.mak (because of package.bld) ...
js: "C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages/xdc/bld/BuildEnvironment.xs", line 146: ReferenceError: "config" is not defined.
making package.mak (because of package.bld) ...
js: "C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages/xdc/bld/BuildEnvironment.xs", line 146: ReferenceError: "config" is not defined.
gmake.exe: *** No rule to make target `.configuro'. Stop.
js: "C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
"C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages/xdc/tools/configuro/Main.xs", line 74
"C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages/xdc/tools/ICmd.xs", line 50
gmake: Target `all' not remade because of errors.

**** Build Finished ****


I get the same error when I import the TI-RTOS F28M35H52C1 Demo project from ControlSuite

Thank you for your help,

John

  • i got same issue. my ccsv5.3 is ok. 5.4 is bad.

    sink. 

  • Sink,

    In TI-RTOS examples we tell the project which version of XDCtools it should use, which I understand is misleading and has been fixed in TI-RTO 1.10.00.23. In TI-RTOS 1.01 the versions are supplied via the XDC package path.

    which results in the log output that you posted.

    "C:/ti/xdctools_3_25_00_39_eng/xs" --xdcpath="C:/ti/bios_6_35_00_20/packages;C:/ti/tirtos_1_01_00_25/packages;C:/ti/tirtos_1_01_00_25/products/bios_6_34_04_22/packages;C:/ti/tirtos_1_01_00_25/products/ipc_1_25_02_12/packages;C:/ti/tirtos_1_01_00_25/products/ndk_2_22_01_14/packages;C:/ti/tirtos_1_01_00_25/products/uia_1_02_00_07/packages;C:/ti/tirtos_1_01_00_25/products/xdctools_3_24_06_63/packages;C:/ti/ccsv5/ccs_base;"

    The easiest thing to do here is to move to TI-RTOS 1.10.00.23 (link here), which actually requires CCS 5.4, but existing applications will experience a slight break in backwards compatibility. We recommend to update your applications sooner than later and the examples' "board" files in 1.10 should assist with the migration.

  • Hi, Tom,

    I install the Ti-RTOS 1.10. However, in the New CCS project. The Ti-RTOS program template no longer exist. Please advise? What should I choose in new CCS project template if I want to use TI-RTOS? The old 1.01 version don't have this issue.

    Regards,

    Tony

  • Hi Sink

    For examples, we've moved heavily to the TI Resource Explorer.

    To create empty TI-RTOS projects you can you use device variant: F28M35H52C1

    I've submitted a bug to get this fixed: SDOCM00101565

    I understand it may be a different device variant from what you're using, but it should help to create the new project. After the project has been created, you can change the variant and Platform in the Project properties.