23-08-2019, 12:01 AM
Can I use only a subset of the MISRA C:2012 Guidelines for my project?
<t></t>
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
Use a subset of MISRA Rules
|
23-08-2019, 12:01 AM
Can I use only a subset of the MISRA C:2012 Guidelines for my project?
<t></t>
07-10-2019, 10:17 AM
The use of a MISRA C:2012 subset will depend on whether the project wishes to make claim of MISRA compliance.
Section 6 of the MISRA C:2012 Guidelines explains the difference between Mandatory, Required and Advisory categories. All guidelines should be applied by the project, but there are differences in how violations of the guidelines may be handled. A short summary is that:
MISRA published a document in April 2016, which includes a more detailed discussion of this topic. "MISRA Compliance:2016 Achieving compliance with MISRA Coding Guidelines" The document can be found by clicking on the above link or by looking either in the "Resources" section of the Bulletin Board or the Publications section of the MISRA web site.
Posted by and on behalf of the MISRA C Working Group
02-12-2020, 03:02 PM
So for my project, I choose to apply a subset of only 70 Rules out of the 156 total Rules available. If I ensure those 70 Rules aren't violated, can I claim compliance to MISRA?
<t></t>
13-02-2022, 10:05 AM
As stated above, to conform with the requirements of MISRA Compliance, and to claim that you are compliant, you must (as a minimum):
You may, with appropriate justification, disapply Advisory Guidelines - but you CANNOT disapply any Required or Mandatory Guidelines. Therefore, if you are only checking 70 Guidelines, you would NOT be compliant.
Posted by and on behalf of the MISRA C Working Group
|
« Next Oldest | Next Newest »
|