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.

Compatibility Inquiry: CLANG Compiler for TI-RTOS Compilation

Hey Texas Instrument Forum Community,

I'm looking into the possibility of migrating our compiler to CLANG while using TI-RTOS. Before taking the leap, I'd love to hear from you all: has anyone successfully migrated to CLANG while working with TI-RTOS?

I'm curious about any challenges you might have faced during the transition and whether CLANG integrates smoothly with TI-RTOS. Any insights or tips you can share would be greatly appreciated.

Thanks a bunch!

  • TI-RTOS is tested and documented to work with specific versions of a specific compiler.  As far as I am aware, the tiarmclang compiler has never been among those compilers.  What device do you use?  I'll notify those device experts about this thread.

    Thanks and regards,

    -George

  • Hi , firts of all I would like to thank you for responding.

    We use the Sitara AM57x.  

    The suggestion comes because in the project options it allows us to choose Clang as the compiler. How can it be?

    Thank you so much.

  • The suggestion comes because in the project options it allows us to choose Clang as the compiler. How can it be?

    That is CCS allowing you to choose among the Arm compilers available in your environment.  That is the only criteria for the choice at that point.

    Thanks and regards,

    -George

  • Hi George,
     
    I'm sorry to bother you but I can't understand your answers. Let me try again.
     
    TI's Code Composer Studio offers the possibility to use TI Clang v3.2.1.LTS to build IPU-cortexM4 projects for AM571x. So, it sounds logic to think that one can build and IPU project using TI-RTOS with Clang compiler. Then, my questions are:
     
    1. Can you confirm that we can build and AM571x IPU project using TI-RTOS with the Clang compiler offered by TI into the CCS?
     
    2. If positive, can you provide us with any migration documentation? We are currently using TI v20.2.7.LTS providec with CCS 12.6
     
    Best Regards.
    Javi

  • Hello Javier,

    What CCS version are you using?

    I believe what George is trying to convey, with respect to your first question (1) is that CCS lists the TI Clang v3.2.1.LTS only because it is present in your CCS installation, not because it is a suggestion or option for it to be used with AM57xx software but because it is added by default for use in other devices. As you know, CCS is a device independent platform that supports 10x of TI devices.

    (1) For AM57x, TI Clang v3.2.1.LTS is not supported and it is not on our roadmap to support it at the moment.

    Please check the release notes for the SDK that you are using for what is supported.

    (2) There is migration documentation for other devices where it is supported, unfortunately this is not the case for AM57x platform.

    Best,

    Josue

  • Thank you very much Joshua for your response.