We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi all
I am using AT91SAM7S64 controller and keil as the compiler ,we r developing a industrial control system product, so following their standard MISRA C has to be used to develope the product does keil support this standard , any one who know plz help me ,
Regards Suresh
Have you tried to search for Misra on this forum?
hi
how to enable the MISRA C on the keil compiler
so that it compiles according to MISRA standard
"how to enable the MISRA C on the keil compiler"
If I am not mistaken, it is not a compiler issue. You must write your code to be MISRA compliant.
"You must write your code to be MISRA compliant."#
Yes, that's right - and if you don't understand that, you should probably not undertake the project. MISRA has to do with safety-critical systems - so, if you didn't even realise that, are you competent to do this project?
He might have realized that some compilers have a MISRA flag that will enable MISRA-related warnings - allowing the compiler to be used as a specialized lint.
On the other hand, the number of posts (and the questions) gives an indication that MISRA may not be enough...
PC-Lint from Gimpel Software can check for MISRA compliance (in addition to many other things).
http://www.gimpel.com/