Coding guidelines for embedded applications

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Could you point some well known coding guidelines used for embedded
applications ? I will be using C/C++ on Linux for a real-time embedded

Re: Coding guidelines for embedded applications
If you're writing a device driver that might end up in the kernel, use
C and follow the kernel coding standards at

For safety-critical work, buy the relevant standards from MISRA at /
"Guidelines for the Use of the C Language in Critical Systems,"
October 2004 or "Guidelines for the Use of the C++ Language in
Critical Systems," June 2008.

"Targeting Safety-Related Errors During Software Requirements
Analysis" from
is useful, particularly the safety checklist.

Also useful is Michael Barr's "Firmware Code of Ethics" at /

Site Timeline