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: Add a new compiler (TI ARM Clang: ti-cgt-armllvm_2.1.3.LTS) to CCS12.8.1 on Linux via the command line

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS

Tool/software:

I want to add a new compiler (TI ARM Clang: ti-cgt-armllvm_2.1.3.LTS) to CCS12.8.1 on Linux from the command line.

I tried to add it using the following command, referring to Create and Build Projects Using Command Line, but the new ARM clang was not added to ti/ccs/eclipse/configuration/com.ti.common.project.core/compilerProperties.cache.log.

eclipsec -nosplash -data <workspace> -application com.ti.common.core.initialize -ccs.toolDiscoveryPath "<path1>;<path2>"

~/ti/ccs/eclipse/configuration/com.ti.common.project.core$ cat compilerProperties.cache.log
Total tool discovery time: 94 ms

Discovered a total of 2 tools:
        /home/user/ti/ti-cgt-c6000_8.3.3 : 8.3.3
        /home/user/ti/ti-cgt-arm_16.9.6.LTS : 16.9.6.LTS

Even if I check with the following command, the new compiler is not added.

eclipse -verbose -noSplash -data . -application com.ti.ccstudio.apps.inspect -ccs.product
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Product location: /home/user/ti/ccs

Compilers:
        Arm:
                TI v16.9.6.LTS [/home/user/ti/ti-cgt-arm_16.9.6.LTS]
        C2000:
                <none>
        C5500:
                <none>
        C6000:
                TI v8.3.3 [/home/user/ti/ti-cgt-c6000_8.3.3]
        C7000:
                <none>
        EVE:
                <none>
        MSP430:
                <none>
        PRU:
                <none>

Products:
        com.ti.rtsc.SYSBIOS [SYS/BIOS]:
                6.73.1.01 [/home/user/ti/bios_6_73_01_01]

        com.ti.rtsc.XDCtools [XDCtools]:
                3.62.1.16_core [/home/user/ti/xdctools_3_62_01_16_core]
                3.50.8.24_core [/home/user/ti/xdctools_3_50_08_24_core]

Is there a way to add it using CCS12.8.1?

  • Hello,

    I tried this CCS 12.8.0 on my Ubuntu 22.04 PC.

    My current environment initially did not have clang 2.1.3 LTS discovered:

    So I downloaded it from ti.com and installed in a separate path /home/sdoapps/test. I then ran the command to add that discovery path:

    Then I re-ran the inspect command and it was discovered:

    Note that you mentioned this command:

    eclipsec -nosplash -data <workspace> -application com.ti.common.core.initialize -ccs.toolDiscoveryPath "<path1>;<path2>"

    Note that "eclipsec" is for windows and "eclipse" is for linux. I would like to confirm that you used "eclipse", correct?

  • Thank you for confirming.

    Yes, I was using “eclipse”, but it was not added like your environment.

    user:~$ cd ti
    user:~/ti$ ll
    total 72
    drwxr-xr-x  1 root root 4096 Jan 15 08:10  ./
    drwxr-x---  1 user user 4096 Jan 15 08:30  ../
    drwxr-xr-x  7 user user 4096 Jan 15 08:05  bios_6_73_01_01/
    drwxr-xr-x  1 user user 4096 Jan 15 08:10  ccs/
    drwxrwxrwx  2 user user 4096 Jan 15 08:10  CCSExternalReferences/
    -rwxr-xr-x  1 user user  212 Jan 15 08:10 'Code Composer Studio 12.8.1.desktop'*
    drwxr-xr-x  8 user user 4096 Jan 15 08:05  dsplib_c64Px_3_4_0_0/
    drwxr-xr-x  8 user user 4096 Jan 15 08:05  dsplib_c674x_3_4_0_0/
    drwxr-xr-x  7 user user 4096 Jan 15 08:06  mathlib_c674x_3_1_2_1/
    drwxr-xr-x  6 user user 4096 Jan 15 08:05  ti-cgt-arm_16.9.6.LTS/
    drwxr-xr-x  5 user user 4096 Jan 15 08:06  ti-cgt-armllvm_2.1.3.LTS/
    drwxr-xr-x  6 user user 4096 Jan 15 08:05  ti-cgt-c6000_8.3.3/
    drwxrwxrwx  3 user user 4096 Jan 15 08:08  tirex-localserver-3.7.1/
    drwxr-xr-x 11 user user 4096 Jan 15 08:06  xdctools_3_50_08_24_core/
    drwxr-xr-x 10 user user 4096 Jan 15 08:09  xdctools_3_62_01_16_core/
    
    user:workspace$ eclipse -nosplash -data . -application com.ti.common.core.initialize -ccs.toolDiscoveryPath "/home/user/ti"
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    Searching for deleted extension-sites to uninstall:
            Finished!
    
    Searching for new extension-sites to install:
            Finished!
    
    user:workspace$ eclipse  -nosplash -data . -application com.ti.ccstudio.apps.inspect -ccs.product
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    Product location: /home/user/ti/ccs
    
    Compilers:
            Arm:
                    TI v16.9.6.LTS [/home/user/ti/ti-cgt-arm_16.9.6.LTS]
            C2000:
                    <none>
            C5500:
                    <none>
            C6000:
                    TI v8.3.3 [/home/user/ti/ti-cgt-c6000_8.3.3]
            C7000:
                    <none>
            EVE:
                    <none>
            MSP430:
                    <none>
            PRU:
                    <none>
    
    Products:
            com.ti.rtsc.SYSBIOS [SYS/BIOS]:
                    6.73.1.01 [/home/user/ti/bios_6_73_01_01]
    
            com.ti.rtsc.XDCtools [XDCtools]:
                    3.62.1.16_core [/home/user/ti/xdctools_3_62_01_16_core]
                    3.50.8.24_core [/home/user/ti/xdctools_3_50_08_24_core]

    In my environment, I have ti-cgt-armllvm_2.1.3.LTS installed in /home/user/ti, but in your environment it is installed separately, so would it be better to install it separately in the same way?

  • In my environment, I have ti-cgt-armllvm_2.1.3.LTS installed in /home/user/ti, but in your environment it is installed separately, so would it be better to install it separately in the same way?

    You should not have to. 

    I repeated my experiment, except this time I moved the 2.1.3 compiler into ~/ti like the rest of the compilers:

    2.1.3 compiler moved to ~/ti: