These blog posts relate to coding standards and coding rules for embedded software developers. If you are interested in this subject, you should also check out Barr Group's Embedded C Coding Standard.

Portable Fixed-Width Integers in C

 Printable PDF

For embedded software developers, the most significant improvements to the C programming language made in the ISO C99 standard update are in the new <stdint.h> header file. Learn the typedef names for the new fixed width integer data types, to make hardware interfacing in C easier. And there are other benefits as well

MISRA-C Guidelines for Safety Critical Software

 Printable PDF

In 1998, the UK's Motor Industry Software Reliability Association established a set of 127 guidelines for the use of C in safety-critical systems. Here's a look at the rules, what they mean, and how they can work for you.

How to Use Lint for Static Code Analysis

 Printable PDF

Language specifications, including those for C and C++, are often loosely written. A static analysis tool called lint can help you find dangerous and non-portable constructs in your code before your compiler turns them into run-time bugs.

Pages