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/CCSTUDIO: Common Code

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

I am using CCS to handle project between 2 MSP430 processor variants and was wondering how to manage common code between the 2 projects.  Both projects being within the same workspace currently.

  • Hi David,

    Do you wish to share the same source file between two different projects (and not have copies of them)? If so, I am thinking of having both projects create a link to the file instead of having it added to the project. Or you could have the file added to one project and a other project have a link to it.

    Thanks

    ki

  • Ki,

    Currently what I have done is created a dummy project that holds the common files.  Each of the other projects references them through the workspace - linked files as you mentioned.  Each of the other projects uses a different MSP430 and so it can't be a straight up library.

    It just seems strange - I do this so I can maintain portability, zip an archive and restore a package that can compile.

    Just looking for a better, more standard way.

    Dave 

  • Are the rest of your files self contained inside the project folder (physically reside inside the project folder) and the only linked files are the ones that are shared and reside in the dummy project?