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.

CCS/CC3220SF-LAUNCHXL: Building a CCS Project and Referencing an IAR library

Part Number: CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

Dear Support:

I have an IAR project that references a library (.a file) that was built using IAR from a 3rd party.  If I convert the IAR project over to a CCS project, will I be able to use this .a library from this IAR project in my CCS project or will I need to get this library built using CCS tools in order to do this?   Please advise.

Thanks,
Tim

  • I don't have access to an IAR compiler, so I can't be certain.  But I did build a library with GCC ARM compiler tools and then successfully linked against it with TI ARM compiler tools.  So, that's a good sign it will work.

    The only problem I ran into relates to the type of wchar_t.  The size of wchar_t is not specified in EABI.  It can be either 16-bits or 32-bits.  The TI ARM compiler default is 16-bits.  The GCC ARM compiler default is 32-bits.  To make it work, when building with the GCC ARM compiler, I used the option -fshort-wchar.

    Please let me know what happens.

    Thanks and regards,

    -George

  • Hey George:

    Thanks for looking into this.  Just needing to know if this is even possible so looks like it is so it's worth a try.  I will try this out and let you know how it goes.

    Thanks,
    Tim