Re: MISRA


Benjamin Lindqvist
 

Hopefully most people in the community agree that many, if not most, Misra rules are outdated or even slightly harmful. But you optimize with the constraint being the way the world works, not how it should ideally work. If this is what it takes to get zephyr backed by Daimler and Volvo, I for one can't blame the steering committee for thinking the tradeoff is justified. I'd do the same thing probably, despite loathing Misra with all my heart. 


On Mon, Dec 13, 2021, 7:44 PM Nicolas Pitre <nico@...> wrote:
On Mon, 13 Dec 2021, Lee Courtney wrote:

> "I figure that that the MISRA-C changes are an attempt to step in the
> direction to having a version of Zephyr that is or can be certified."
>
> And that is what is being watched by those with safety-critical
> requirements, and that would benefit from a robust open-source RTOS with
> significant community and organizational backing.

Significant community backing won't come about if the project blindly
adopts obnoxious rules, especially with some of them having little
intrinsic value, just to let a few brag certification compliance.

What's the point of certification if you drive part of your community
away in doing so? Might as well just use a commercial RTOS where no
"community" is implied.


Nicolas





Join {devel@lists.zephyrproject.org to automatically receive all group messages.