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.

platform utilities test

Hi,

I was trying to test the platform utilities on 6678.There is a readme file  and I followed the following procedure verbatim

1) In order to build the project in CCSv5, perform the following steps:
   (1) Open CCSv5 IDE.
   (2) Click on Project
   (3) Select 'Import Existing CCS/CCE Eclipse project' option and click on Next button.
   (4) Mark 'Select root directory' option and browse to the project directory on
       harddisk (pdk_#_##_##_##\packages\ti\platform\evmc6678l\platform_test).
   (5) Uncheck the checkbox 'Copy projects in to workspace'. If you want to preserve the original
    copy,then tick the option 'Copy projects in to workspace'.
       Note that you will need to configure the include path appropriately since the
       default paths no longer applies.
   (6) Mark on the project 'platform_test_evmc6678l' and click on Finish option.

I was able to succesfully import the project.Next I tried to build it.

(7) Click on Project->Build Project option to build the marked project in CCSv5 IDE.

See the build errors

**** Build of configuration Debug for project platform_test_evmc6678l ****

 

C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all

'Building file: ../src/platforms_utils_test.c'

'Invoking: C6000 Compiler'

"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path=C:/Program Files/Texas Instruments/pdk_C6678_1_0_0_9_beta2/packages/ti/platform/evmc6678l/platform_test/../../../csl --include_path=C:/Program Files/Texas Instruments/pdk_C6678_1_0_0_9_beta2/packages/ti/platform/evmc6678l/platform_test/../.. --diag_warning=225 --abi=eabi --obj_directory="./obj" "../src/platforms_utils_test.c"

[Texas.]

Fatal error: could not open source file "Files/Texas"

1 fatal error detected in the compilation of "Files/Texas".

Compilation terminated.

 

>> Compilation failure

gmake: *** [obj/platforms_utils_test.obj] Error 1

gmake: Target `all' not remade because of errors.

 

Is there a limit on path length for the compiler ?

 

Regards

Arvind

 

 

  • Arvind,

    I just ran the same steps and it built first time with no problem.  I did notice that you are using an old version of the PDK though.  Please download the latest version of the MCSDK, which contains PDK 1.0.0.12 and give it a try.  Mine was version 1.0.0.11.

     

    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html

     

    Regards,

    Travis

     

  • Arvind,

    I know this is a reply that is coming very late but I experienced the same problem. The problem is with your path where "program files" directory is not seen as a single world but two different words when compiling.

    To fix it, do the following:

    Click right on the project, select build properties.

    on the left hand side, there is a tab called build variables, make sure that all the names over there are defined with no quotes at any place in the name

    then, on the right, click on settings and select the "include options" from C6000 compilerlist.. All the path in this window should be with quotes at start and end

    finally in the section C6000 linker list, file search path do the same above.

    To verify that all looks ok, if you click on C6000 compiler, your options will lokk clean like that:

    -mv6600 -g --include_path="C:/Program Files/Texas Instruments/pdk_C6670_1_0_0_9_beta2/packages/ti/platform/evmc6670l/platform_test/../../../csl" --include_path="C:/TI/ccsv5/tools/compiler/c6000/include" --diag_warning=225 --abi=eabi --obj_directory="./obj"

    Hope it helps someone in the comunity

  • Thanks, Aymeric.  That makes sense, I verified with the default installation path C:\TI....

    Regards,

    Travis