With CCS 5.5.0,
“C:\<ccs installation directory>\eclipse\plugins\com.ti.ccstudio.buildDefinitions.MSP430_5.5.0.201308270800\resources\buildDefinitions\native\metadata”
contains two XML files ( “CHECK_MISRAMSP430_3.3.xml”, “CHECK_MISRAMSP430_3.4.xml”) with the incomplete (!) text of the MISRA-C rules - some rules are missing.
For example, the rules 6.2 and 6.4 are in the XML file, 6.3 not.
Questions to the community:
1. Is there in other editions of CCS a more complete list of MISRA-Rules shipped as XML?
As I don´t have "every" CCS installed, please look with Windows-Search for "MISRA" and so you will find the XML datafiles :-) so that you can check them for completeness.
2. How does CCS work,if the XML data is inomplete? Is this data "just for reference" ? And why are 2 similar if not equal files shipped ?
My motivation:
I just wanted to use the data to build an external table in a Wiki or Excel sheet, to add comments for a project which rules are already passed, and what code changes were done ect.
I might take the list from the official MISRA-C:2004 book, but... taking it from an tool-related source I thought is a better idea :-).. I am just interested in the rules the way the CCS checker handels,
- as the official MISRA-C:2004 book has other rule numbering and naming
- as all other rules ( MISRA-C++:2008,.MISRA-C:2012,...) I must check manually, and I know that this does not work well..
Sincerely
Rolf