Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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/TMS320F28379D: Multiple Build Configurations - How to Find Errors

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Greetings,
    I have a project which uses multiple Build Configurations.  To verify that a change to one configuration doesn’t cause a build error for the others, I do a Build All.  If I watch the Build Console, I can see any errors appear and be scrolled off the screen as the build continues.  So at the end, I know that an error occurred.  But if I don’t watch the Build Console and the last configuration has no errors, I don’t know that an error occurred.
    And when I know there is an error, the only way I have found to figure out which configuration failed, is to set the active configuration to each, in turn, and build just that one.  So two question.

  1. Is there a way to determine if any of the builds failed?
  2. Is there a way to see the output for a given configuration?

Thank you,
Ed

  • Please disregard my last (deleted) post. I read your question incorrectly. I am creating a proper reply.

  • Hi Ed,

    Ed Sanders said:
    Is there a way to determine if any of the builds failed?

    One thing to try:

    In the build console, switch the setting to use the "CDT Global Build Console". This will allow you to see all the build messages from both configurations

    Ed Sanders said:
    Is there a way to see the output for a given configuration?

    Now, I'm not sure if there is a way to specify output for just a specific build configuration. I'll need to investigate this.

    Thanks

    ki

  • Ki said:
    Now, I'm not sure if there is a way to specify output for just a specific build configuration. I'll need to investigate this.

    I was able to confirm that this is not supported. Looks like the global build console is your best bet.

    ki

  • Hi Ki, 

        If I get an error in a project with one configuration, I do see the adornment on the project, the folder, and the file which contains the error.  But in this case, I am building a single project with four Build Configurations.  The build is started by right clicking on the project, going to Build Configurations->Build All.  If one of the four has a build error, I haven’t noticed an adornment appear, unless the error is in the last configuration built.  Maybe I’m looking in the wrong place?

        I did look at the Binaries folder, and can see that one is missing. Since they have the same name, the project name, I can’t immediately tell which one is not present. I found that if I get the file properties, the Resource section will tell me which configuration it is. Is there a faster way?

    Thank you,

    Ed

  • Ed Sanders said:
    But in this case, I am building a single project with four Build Configurations.

    Yes I saw that after my initial (and now deleted) reply. Please see my last post (prior to this one) regarding the global build console.

    Thanks

    ki

  • Hi Ki,

        I tried the CDT Build Console, and I can see the outputs from each of the builds!  No adornments though.  I have also noticed that in the status bar, when there is a build error, I will sometimes see an adornment on the project name.  But this has not been consistent, even when I put the error in the last configuration to build.

    Thank you,

    Ed

  • Yes, the global build console is your best bet for scanning for errors.

  • Thanks for your help Ki.

    Ed