MISRA Standards Compliance in Simplicity Studio for EFM8 and C8051 Devices

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> JohnB on ‎12-12-2016 02:34 PM - edited on ‎08-03-2017 03:51 PM by Administrator Siliconlabs



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?



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.