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 4 recompiles after restart

Hi folks,

everytime I (re)start CCS 4.0.1.01001 and hit debug active project it recompiles the whole project (with all its dependent projects). Any ideas what to do about that?

 

Greetings,
Thomas

  • Thomas,

    There have been a few bugs fixed related to this but I still have people reporting issues where CCS is doing a rebuild when not needed.

    Is this a simple project that I could try out on a newer build (4.2.0) for you to see if this particular problem is fixed and if not I could file a defect with the project as a test case so that we can be sure it gets fixed?  

    Regards,

    John

     

  • Hi,

     

    I noticed, that after clicking on "Project"->"Build All" every sub-project  in my workspace gets "clean-only"ed before the actual compiling. But this does only happen once. Any following "Build All" action does just compile (without cleaning).

    Is this a setting somewhere?

    Thanks,
    Thomas.

  • Build all is supposed to do an incremental build of every project in the workspace.  "Rebuild" will do a clean and then build of the selected or active project.  However we are seeing that in a number of cases CCS is doing a rebuild when it doesn't need to.  One common case is if CCS doesn't exit normally then after the next startup it will do a rebuild.  There were some other issues where if you switched the debug configuration it would do it.

     

    John

  • Well, thanks John. CCS4 does a rebuild ALWAYS on restart. Even if it (at least looks like it) exited normally.

  • There are a few issues we know about that are planned to be fixed.  Info below.  If your case doesn't fall into one of these I would love to get a project that shows the issue so that we can target the fix for our next big service release (4.2.2).  You could send me a private message with the project as an attachment so that it is kept confidential between you and TI.  From the File menu select export.  Under General select Archive File.  You will then get a dialog where you can select which projects to archive.  If you could click on my user name it should give you the option to start a private conversation.  In that conversation you can attach a file.

    • SDSCM00037356 Always get a rebuild with BIOS project redirecting .out
    • SDSCM00034930 Active build-configuration is unnecessarily built in dependent project
    • SDSCM00035936 Project always rebuilds when the active configuration is switched
    • SDSCM00037521 CCS rebuilds entire project in several situations where only incremental build is expected
      • 1) change the build settings of just ONE source file in a multi source file project - instead of just building that source file it rebuilds entire project
      • 2) change build configuration, say from Debug to Release and back to Debug - causes rebuild even when no changes have been made since last build 
      • 3) open and close the BIOS .tcf file (without changing anything!)
      • 4) hit the cancel button while building, and click build again (even without changing any files)
      • 5) Open a BIOS project. Double-click the tcf file to open in the BIOS configuration tool. 
      • Note, the issue is only reproducible when the tcf is open in the configuration tool, even if no changes are made!
      • Keeping the .tcf file open, click the "debug" icon to build, load, etc. 
      • Click the "terminate" button. 
      • Click the "debug" button again.  You'll see the entire project rebuilds!

    Regards,

    John