2018 update of Embedded C Coding Standard

8th August 2018
Source: Barr Group
Posted By : Alex Lynn
2018 update of Embedded C Coding Standard

The embedded systems experts, Barr Group, today released an update of the influential Embedded C Coding Standard. Also known as BARR-C:2018, the latest version of the company’s stylistic coding rules helps embedded system designers reduce defects in firmware written in C and C++.

First published in 2008, the rules of Barr Group's Embedded C Coding Standard are followed by embedded software developers who want to reduce time spent during the debugging stage of their projects as well as improve the maintainability and portability of their source code. Followers of earlier versions of the BARR-C coding standard will find that little has changed about the rules themselves. Clarifications and additional code examples have been added to make the rules easier to understand and apply. For the 2018 edition, Barr Group has eliminated the few prior conflicts between its rules and those in the MISRA C:2012: Guidelines for the Use of the C Language in Critical Systems.

Many firmware developers choose to combine bug killing stylistic rules from the BARR-C standard with safety guidelines from MISRA C. According to recent industry surveys, BARR-C and MISRA C are the two most widely followed coding standards, with four out of ten professional embedded system designers applying one or both on their current project.

Barr Group CTO Michael Barr, stated: “The Embedded C Coding Standard’s emphasis on defect killing stylistic rules has always complemented MISRA C’s style-less focus on a safer language subset. To ensure that developers are able to seamlessly combine rules from these important standards, we have updated our standard and verified that all of our rules are in harmony with the most recent version of MISRA C.”

Andrew Banks, who is Chairman of the MISRA C Working Group added: “We are pleased that embedded systems engineers are increasingly adopting defect reducing coding standards such as MISRA C and the Embedded C Coding Standard. Now that the guidelines from MISRA can be more easily coupled with the stylistic rules from BARR-C, we look forward to seeing embedded software designers take even greater steps towards improving the safety, security, and overall code quality of their products.”

BARR-C:2018 is immediately available in a free PDF download and in HTML format here. Print copies can be purchased at Amazon.com. In addition, an editable (Microsoft Word) copy of BARR-C:2018 is available for download and license for teams wanting to customise the rules to their project-specific needs.


You must be logged in to comment

Write a comment

No comments




Sign up to view our publications

Sign up

Sign up to view our downloads

Sign up

IoT Tech Expo 2019
25th April 2019
United Kingdom Olympia, London
Ceramics Expo 2019
29th April 2019
United States of America International Exposition Center (I-X Center)
PCIM 2019
7th May 2019
Germany Nürnberg Messe
Electronics & Applications 2019
14th May 2019
Netherlands Jaarbeurs Utrecht Hall 7 Jaarbeursplein
Agile for Automotive 2019
15th May 2019
United States of America Detroit, MI