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.

Compiler/TMS320F280025: How to Support C24 instruction with LTS compiler and higher version CCS(CCS7 or upper)

Part Number: TMS320F280025


Tool/software: TI C/C++ Compiler

Hi Team,

  Could you kindly give comments on how to support the C24 code instruction within LTS compiler and higher CCS version(CCS7.0 upper)?

  My customer used F280025, and there are some C24 assemble instruction want to used in F280025 application,  but reported errors while in BUILD, the error information shown as below figure.

 Expect for your kindly reply, thanks.

Best Regards

Benjamin

  • The C28x assembler has a mode where it accepts old C24x instructions like SPLK. It encodes the C28x instruction that does the same thing.  To use it, add the build option -m20.  While this option is still supported, it was removed from the documentation several years ago.  

    Since -m20 is not documented, there is no support for enabling it in the CCS project build settings.  You have to add it manually.  For the details, please search this documentation on CCS build properties for Edit Flags.

    Thanks and regards,

    -George