This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MISRA-C

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.

Parents
  • "one rule is "dont use nonstandard language extensions"."

    So for example, when using Keil C51 plus MISRA-C guidelines, one is limited to the memory models selectable at the toolchain level and can't mix; that is, use a predominantly small model with xdata-qualified objects where needed?

    Come to think of it now, one couldn't access SFRs either due to the way they are defined in the header files, right?

    Does anybody use C51 plus MISRA-C guidelines?

Reply
  • "one rule is "dont use nonstandard language extensions"."

    So for example, when using Keil C51 plus MISRA-C guidelines, one is limited to the memory models selectable at the toolchain level and can't mix; that is, use a predominantly small model with xdata-qualified objects where needed?

    Come to think of it now, one couldn't access SFRs either due to the way they are defined in the header files, right?

    Does anybody use C51 plus MISRA-C guidelines?

Children