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.
Hi,
I am using CCS 6.1. I know I can go into an individual project and set the MISRA C rules, but I was wondering if there is a way to set them in general for any project used in CCS. We have many projects ( > 10) and setting the options individually, or if we need to change them would be a pain to do for each project.
Thanks,
David
Hi David,
In cases where people are working with many projects and wish to change/modify the same compiler options for all the projects, many people find working with command files easier to deal with. A compiler command file is simply a text file that has a set of build options which can be referenced by a project. So the use case is to have commonly applied options in the command file and have all the projects use that command file to add to the existing project compiler options. That way, if you wish to change an option, you just modify the command file once and it will impact all projects referencing that file. This makes it easier to deal with.
Hope this helps
ki