Re: MISRA-C and Zephyr
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 .
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.