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.

AM2634: Compiler errors creating library in CCS

Part Number: AM2634

Tool/software:

  1. I have a problem with creating a library in CCS (v12) using the ti.cgt-arm_20.2.7.LTS compiler. I keep getting the error as shown below but I can not see the reason for this error in the code which is code supplied in TI’s portmacro.h file, see image below:

 

 

               Please let me know if you have any idea as to why I am getting this error; the code looks good and there are certainly no missing “)” brackets. I did try looking at the generated .rl file as one of the support forum chats suggested but it didn’t help.

  • The older TI Arm compiler (different from tiarmclang) does not support gcc-style asm statements like the one on line 180 in portmacro.h.  It is likely this file is not to be used when building with the TI Arm compiler.

    Thanks and regards,

    -George