<?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>Supporting a custom board with nRF5 SDK examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18910/supporting-a-custom-board-with-nrf5-sdk-examples</link><description>We are selling our own nRF51 and nRF52 based boards (Aistin Blue, www.iprotoxi.fi/.../iprotoxi-aistin-blue) and would like to offer customers easy way to run Nordic Semiconductor&amp;#39;s SDK examples with those boards. I know there&amp;#39;s so called &amp;quot;board support</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jan 2017 15:43:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18910/supporting-a-custom-board-with-nrf5-sdk-examples" /><item><title>RE: Supporting a custom board with nRF5 SDK examples</title><link>https://devzone.nordicsemi.com/thread/73076?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 15:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6df4b20a-c000-4c91-a104-24ab856ed046</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;That&amp;#39;s fine then. Thanks :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Supporting a custom board with nRF5 SDK examples</title><link>https://devzone.nordicsemi.com/thread/73078?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 09:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c240930-189f-4378-bc68-cabce43cb107</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I don&amp;#39;t think that should be a problem. The bsp module is not using the start/stop defines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Supporting a custom board with nRF5 SDK examples</title><link>https://devzone.nordicsemi.com/thread/73077?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 09:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811643c4-3cd7-45d5-b6a5-9d313c621697</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Ok, thanks for answer! However, I think there might be a problem with buttons and leds, since bsp module might be assuming all the leds / buttons are wired in consecutive pins (there&amp;#39;s defines LED_START/LED_STOP and BUTTON_START/BUTTON_STOP). However, in our board leds are not in consecutive pins. Is that a problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Supporting a custom board with nRF5 SDK examples</title><link>https://devzone.nordicsemi.com/thread/73075?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 09:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306090c2-8d7d-4f4f-b1b7-37c863cef5db</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, that is possible.
Simply copy one of the existing board files (e.g. pca10028.h), rename it, and modify it after your requirements (change pin configuration, etc). Then you have to modify boards.h to support your new file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;..
#elif defined(BOARD_CUSTOM)
  #include &amp;quot;custom_board.h&amp;quot;
..
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The new define can then be used in Keil (Options for Target -&amp;gt; C/C++ tab-&amp;gt; Define-&amp;gt; remove &lt;code&gt;BOARD_PCA10028&lt;/code&gt; and add your &lt;code&gt;BOARD_CUSTOM&lt;/code&gt;). The bsp module is very dynamic, and will configure according to your custom board file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>