MISRA stands for "Motor Industry Software Reliability Association". IAR has an Embedded Workbench which I believe is a Tester to verify the implementation for the MISRA C rules.
Does KEIL have a such a tool?
If there a PDF document available that spells out the rules. I have search and all I can find are test suites.
"IAR has an Embedded Workbench which I believe is a Tester to verify the implementation for the MISRA C rules."
IAR's "Embedded Workbench" is their equivalent of Keil's uVision: it's their IDE, so it may well include a conformance tester, but it isn't in itself a conformance tester.
"If there a PDF document available that spells out the rules."
Yes - you have to buy it from MISRA: http://www.misra.org.uk/
Unfotunately, MISRA is one of the old-school standards bodies that insists on charging for its standards :-(
Thanks,
I asked the library (at work) to order it. I'm always looking to improve my coding style.
I'm always looking to improve my coding style.<p>
MISRA rules shouldn't be considered "good coding style", but a tool to remove some of the ambiguities of C in safety-critical applications.
There are some downright ridiculous rules contained in the MISRA-C standard. Some of them will boil down to "Program shall not contain bugs.", which is pretty much a rule for any program.
Another one, if followed to the letter, would turn a simple
a = b + c++;
into
a = (b + (c++));
There's also a a rule that forbids the use of goto. Have fun trying to exit that triple-nested loop.
MISRA is bullshit
such a statement guarantees that your code is.
Erik
why is you bee thinking that this????
a profffesional programer must learn all tools he can and finde best good ones to use for her job
i reed about it and think about it and learn abot it
sometime a tool you say not gggod is gooder by other me!!!!
i think sir eric can be good right sometime and you have code that is how you sayed it!!
plz dont be destruct commments and construct comment to help other peoples
thankyou
View all questions in Keil forum