How do I configure CCS20.3 to stop the build immediately after a compile error occured?
A solution that works for both GUI and command line builds would be appreciated.
Best regards
Johannes
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.
How do I configure CCS20.3 to stop the build immediately after a compile error occured?
A solution that works for both GUI and command line builds would be appreciated.
Best regards
Johannes
Can you try restarting the CCS once? This should not happen. Looks like nothing is coming.
Is this example taken from the SDK or you are developing your own?
Also are you using CCS to build the project?
It is one of several library projects used by two system projects each of which consisting of two executable projects (.out).
The Build Properties window is empty for all of them.
Is this library built using CCS?
Are there any makefiles or build process that CCS runs to build this library?
The project which uses CCS for build will only have build configuration setting, other libraries or project will not have option to configure build settings via CCS.
All the projects are built by CCS, i.e., I can do: Right-Click (on project)->Build Projects and the project is built. In the output window appears:
"C:\\ti\\ccs2030\\ccs\\utils\\bin\\gmake" -k -j 14 all
followed by several compiler invocations.
Right-Click->Clean Projects works also.
Are you able to build the example for which you are looking build configurations?
It is the firmware we are developing for which I'm trying to set the build properties such that the build is stopped after first error (and not an example from SDK).
I can build the firmware with Right-Click->Build Projects as I was trying to express in my previous post.
As I wrote 6 days ago, the build properties window is empty for library projects as well as executable projects (for both cores). Actually it es empty for all the projects in the workspace.
Which of the files used by CCS contains the settings that should be displayed / edited in the build properties window?
Please try manually editing the .cproject file of your project and add the stopOnErr="true" attribute to the builder tag.
Please refer image below.

Please let us know the results.
Unfortunately this appears to have no effect. I added the stopOnErr property (and even turned parallelBuildOn to false):

But when I build the library I get gmake being invoked with -k and -j (which are as far as I understand equivalent to stopOnErr=false and parallelBuildOn=true).

(I also tried adding stopOnErr="true" only, i.e. without changing parallelBuildOn, without success.)
Can you try restarting the CCS once? This should not happen. Looks like nothing is coming.
Tushar - are you using the CCS 20.4 beta? The advanced Build options were added to CCS 20.4. It was not available in CCS 20.3.
Johannes - CCS 20.4.0 is scheduled for release at the end of this month.
Hi Ki,
Just noticed, yes I am using CCS v20.4 beta version which has this advance option. Sorry for the confusion.
Johannes - CCS 20.4.0 is scheduled for release at the end of this month.
Thanks Ki for this update. Does changing the .cproject file manually also have the same effect?
Regards,
Tushar
Does changing the .cproject file manually also have the same effect?
It should. The settings in the build properties are typically written to the .cproject
Johannes - CCS 20.4.0 is scheduled for release at the end of this month.
Please note that CCS 20.4.0 has been released.
https://www.ti.com/tool/download/CCSTUDIO
Thanks
ki