Jiří Kubias <jiri.kubias@...>
toggle quoted messageShow quoted text
I have one practical question regarding MISRA-C standard. Where I can get the standard as a regular coder? I can buy one for £15 + VAT, but I dont thing that every body want to buy it. Is there any public description of this standard? There are many of us who never met with MISRA standard.
> On 09/15/2018 06:07 AM, Kumar Gala wrote:
>> Not support MISRA directly, but I assume we can implement the MISRA checks either by configuring specific rules of cppcheck or implementing our own. If there’s some MISRA checker out there, even better.
> Cppcheck has some MISRAC C 2012 checks for a while now .
Yeah, last time I've checked it was requiring the MISRA-C standard
converted to a pure text. The problem is that we can distribute
MISRA-C. Though, I'll check if the standard is only required for
pretty-print the errors.
> Also, it is quite simple to add such checks to clang-tidy . I am no
> longer working in a safety relevant area, so I did not push this pet
> project in the past, but extending it for Zephyrs needs would probably
> be a good reason to do so.
Good to know :)
>  http://cppcheck.net/misra.php
>  https://github.com/rettichschnidi/clang-tidy-misra
> Kind regards,
Ing. Jiri Kubias
mobile: 775 593 956