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.
We're needing to ensure some code is MISRA-C compliant, but the code generated by HALCoGen results in thousands of errors when it is ran through our MISRA-C checker. Are there other options here?
-Reagan
Hello:
Do you mean the compiler MISRA checker?
HALCoGen code is currently evaluated against MISRA-C rules using LDRA tool. There are some aspects to consider:
1) Diferent tools could lead to different findings
2) We could be using different rule sets
3) There are some documented exceptions in the code (you can identify them with the label SAFETYMCUSW)
Does that requirement comes from a customer?