Question

 

What kind of support does Simplicity Studio have for the Motor Industry Software Reliability Association (MISRA) standard for the C programming language? Does the Configurator tool generate MISRA-compliant code? Can the included Keil C compiler for 8051 perform MISRA type checking?

Answer

 

Simplicity Studio does not provide any integrated support for the MISRA C standards (1998, 2004, and 2012) either in the code generated by the Configurator tool or as an option that can be passed to the Keil 8051 C compiler.

 

Customers requiring MISRA support should investigate PC-lint from Gimpel Software. It can be added as a step in the build process by right-clicking on a project in the Project Explorer under Properties → Settings → C/C++ Build → Settings → Build Steps → Pre-build Steps and entering the appropriate command line invocation.

  • 8-bit MCUs
  • Automotive
  • Knowledge Base Articles