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/CODECOMPOSER: Version: 10.0.0.00010

Part Number: CODECOMPOSER


Tool/software: Code Composer Studio

I have a project with multiple build configuration and two target configuration files (*.ccxml)

 

Is there an option to map a target configuration file to a specific build configuration?

  • Jordan,

    The ideal way of doing this would be to have multiple .ccxmls in the project and just exclude them by build configuration.  However that does not do the trick.  

    Another option would be to do it indirectly.  Where you associate a build output with a debug launch for a .ccxml.

    Add all the ccxml files to your project

    Make sure all your build configurations are built.

    Open the "Target Configurations" view from the view menu.

    Find your project and expand it to show the list of cccxml files in the project.

    Right click on the first ccxml and select "Launch Selected Configuration".

    This will launch the debugger for that configuration.  It won't have connected or loaded a program yet.

    Terminate the debugger.

    Now when you click on the little down arrow beside the bug button there will be an entry for the .ccxml file that you selected.  We can customize what it does by clicking on "Debug Configurations..."

    Here I then select that debug configuration.  I go to the program tab and I associate my project and then I associate the program file that is generated by the build configuration that I want to use.  Click on the "Workspace" button beside each to do this.

    Once done you can click the debug button and it will launch that debug configuration and load the appropriate program.

    You can then repeat the process for the other configurations.

    When done you can then launch these from the down arrow beside the bug button.

    Regards,

    John