Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guidelines for NOT embedded SW?
#2
The Vision of MISRA C states:
Quote:The MISRA C Guidelines define a subset of the C language in which the opportunity to make mistakes is either removed or reduced. ... {and} can also be used to develop any application with high integrity or high reliability requirements.
While the legacy of the automotive origin of MISRA C is that it is focused on Freestanding applications, there is nothing inherent that precludes its use in Hosted applications... other than some broad-reaching Rules in the Standard Library sections (21.x and 22.x) which restrict the use of stdio.h and signal.h and some features of stdlib.h - you will require Deviations if you need to use those features.

These restrictions are due the undefined, unspecified and implementation-defined behaviours prevalent in those parts of the Standard Library.

Existing work within the MISRA C Working Group is, however, looking at creating more targeted guidance to aid wider take-up.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)