<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Any code standards/layout/style guides?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30217/any-code-standards-layout-style-guides</link><description>Hello, 
 
 Currently working on a project for a company that uses your product. 
 Does Nordic use a certain style guide, or do they have a style guide internally that I could get acces to? 
 
 Greetings, 
 
 Sommmen.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Feb 2018 13:00:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30217/any-code-standards-layout-style-guides" /><item><title>RE: Any code standards/layout/style guides?</title><link>https://devzone.nordicsemi.com/thread/120270?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 13:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e24452-1c07-45e2-974d-f546afa59730</guid><dc:creator>sommmen</dc:creator><description>&lt;p&gt;Cool, thanks for the effort.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;maybe an idea to publish a small layout guide for future users, or a reference to the book somewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any code standards/layout/style guides?</title><link>https://devzone.nordicsemi.com/thread/120266?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 12:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3371175a-1bd6-4404-b905-226d3d611c8f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I looked into this, and was told our coding style is closely modeled after the Netrino standard, described in the &lt;a href="https://www.amazon.com/Michael-Embedded-Coding-Standard-Paperback/dp/B00SCVT1CM/ref=tmm_pap_title_1?_encoding=UTF8&amp;amp;qid=&amp;amp;sr=#customerReviews"&gt;following book&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, we use spaces for tabs and 4 spaces indent, which is not required by Netrino.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&amp;nbsp;&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any code standards/layout/style guides?</title><link>https://devzone.nordicsemi.com/thread/120144?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 15:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a1fc4e-7c86-44e9-ab44-d7903a92f948</guid><dc:creator>sommmen</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking more for the layout guides (identation, naming conventions, casing w/e).&lt;/p&gt;
&lt;p&gt;I get that the actual guidelines are build upon years of experience, which has tremendous (business) value.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d just like my code to have the same style as nordic - and a document would help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any code standards/layout/style guides?</title><link>https://devzone.nordicsemi.com/thread/120132?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 14:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4069aa1-1c77-449c-a4e3-14f895c038a3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have internal guide lines, yes, but this is not something we are making available publicly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think our guidelines are based on a derivative of the Misra C standard, but I will check this with our software group and get back to you when I know more.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&amp;nbsp;&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>