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.

Doc on configuration managment (esp. for MSP430 target changes)

Other Parts Discussed in Thread: MSP430F5342, MSP430F5528

Folks,

Is there a document on configuration management in CCS, especially as it relates to adding another target configuration for MSP430 builds?

I must be missing something -- nothing seems to work right for me (CCS 5.3.0.00090)  I would like to add another configuration "Debug-Foo", which I can do, and then change it's target to a different processor (from MSP430F5528 to MSP430F5342).  But when I add this config, it behaves strangely, e.g. the new ccxml and lnk...cmd files get added, but the compiler seems to think that the target is still a ...5528, i.e., the __MSP430F5342__ macro is defined in the source, but the build process takes no heed and doesn't bother to do any work to build the new target.

Pardon me if this sounds confused (I am :-)  Experiments have led to multiple, inconsistent results.  Hence the plea for a doc.

Can you point me at a suitable doc, or provide a concrete procedure for creating multiple debug and release configurations, with different MSP430 variants as targets, the appropriate macro names (e.g., __MSP430F5528__) to conditionally include source, and how to force building of the appropriate targets?  What ccxml and lnk...cmd files should I expect to see?  Where? With what annotated icons as to their status?

TIA,

Mike

PS: Is my workspace metafile corrupted?

  • Hi Mike,

    a couple things.   This is a first for me, trying to have multiple devices in one project.   I would recommend separating into projects per target.

    Now, regarding the configurations.  There is unfortunately no good documenation to help you through your situation.   One thing I can say is that if that much has been changing have you tried both doing a clean and a reindexing before building?   You can reindex by having the project selected and right clicking.  The indexing options are in the menu there.

    Please keep us informed.

    Best Regards,

    Lisa

  • Hi Mike,

    just thought I would double check for any updates with your enquiry.

    Best Regards,

    Lisa

  • Lisa, thanks for checking in.

    Problem was resolved by reconstructing the project from source files.  I strongly suspect the project metadata was corrupted, but certainly don't have a way to reconstruct the problem for a bug report.  Let's close this issue.

    Mike

  • Hi Mike,

    very glad to hear.


    Thanks for posting and all the best with development.

    Best Regards,
    Lisa