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: Shared/Static/Archive Library?

Tool/software: Code Composer Studio

Hi team,

I have a bit of generic code that I would like to share between projects. Does CCS support "shared library" projects that can be linked to other projects--something like a “static library”, “shared library”, or “archive binary” (.lib or .a in gcc)?

I found this - https://e2e.ti.com/support/tools/ccs/f/81/t/612994?CCS-Adding-external-library

This link looks like it covers adding an already created external library to a project, but what about using code to generate a library that can be linked to an MSP430 project?  The only project types that I see are Hello World type examples that already contain a main. 

Does CCS support creating library projects?

Thanks,

Brian

  • Hi Brian,

    The option for a Library project is hidden. You need to expand the "Tool Chain" settings and then select "Static Library" for the "Output type"

    Thanks

    ki