<?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>Nordic SDK &amp;amp; Custom boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73651/nordic-sdk-custom-boards</link><description>Hi, 
 can anyone provide any insight into moving beyond a pca10040 development board and creating a project for a custom board? What are the steps that you have to go through? I am using a design based on a fanstel bt832. I take it that you have to modify</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 10:07:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73651/nordic-sdk-custom-boards" /><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303431?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 10:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff4a3e09-f451-45e2-b918-e9c76fb88825</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;OK, I will watch the videos that you suggest and let you know if that addresses the question, thank you.&lt;br /&gt;Can I suggest that when you get these questions that you also amend the SDK docs so that these omissions are addressed and the answers recorded in the docs? It would make it easier for newcomers to get started without hunting through many obscure forum posts.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303426?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 10:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd00cc19-cd74-4fe8-a4a5-a4efd798bc3a</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;For future reference, (this using SES Release 5.42):&lt;/p&gt;
&lt;p&gt;- In the project explorer right click on the project file, select options from the drop down menu.&lt;/p&gt;
&lt;p&gt;-In the project options window, select &amp;quot;Private Configurations -&amp;gt; Common&amp;quot; from the drop down menu at the top right of the GUI&amp;quot;.&lt;/p&gt;
&lt;p&gt;- Under Code -&amp;gt; Preprocessor double click preprocessor definitions.&lt;/p&gt;
&lt;p&gt;- Change &amp;quot;BOARD_PCA10040&amp;quot; to &amp;quot;BOARD_CUSTOM&amp;quot;&lt;/p&gt;
&lt;p&gt;- Add your board header file to the&amp;nbsp;SDK folder :&amp;nbsp;eg ..\NordicSemi\nRF5_SDK_15.2.0_9412b96\components\boards&amp;nbsp;&lt;br /&gt;&lt;br /&gt;- In boards.h edit the line:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#elif defined(BOARD_CUSTOM)&lt;/code&gt;&lt;br /&gt;&lt;code&gt; #include &amp;quot;custom_board.h&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to your chosen .h board header filename eg:&lt;br /&gt;&lt;code&gt;&lt;span&gt;#include &amp;quot;my_board.h&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;- Edit the board file to suit your custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303423?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 09:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebceae77-81c4-40bb-9396-26d7b385895d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry that you feel that the documentation is lacking details. The board header files is not very complex, and the documentation describes how to utilize one of the existing files to adapt it to your custom board. Then all you need to do is to add this new file to the board include file, and modify the board define in the project.&lt;/p&gt;
&lt;p&gt;Let me know what exactly you need more details on and I will help you out (if not someone in the community can help you even faster ;-) ).&lt;/p&gt;
&lt;p&gt;Regarding my short answer, I added the link to the documentation as a complement to the answer from Tim that was already posted. We check all tickets on this forum, but not all require attention from Nordic support engineers, as they are handled by community members.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;J&amp;oslash;rgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303414?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 09:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e432fc01-ad51-422e-a779-e695c117970a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The define can be found under preprocessor defines in the &amp;quot;Common&amp;quot; configuration in SES project options:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6518.ses_5F00_common_5F00_options.png" /&gt;&lt;/p&gt;
&lt;p&gt;To get more familiar with using SES with nRF5 SDK, I recommend you to have a look at this &lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;video tutorial playlist&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303409?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 09:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebed1d93-6180-45c1-acb2-8e3144ad3008</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;the sum total of the wisdom dispensed by nordic on this matter amounts to a single paragraph in the SDK docs at the link you provided:&lt;/p&gt;
&lt;h1&gt;&lt;span style="font-size:75%;"&gt;&lt;em&gt;Adding support for a custom board&lt;/em&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;To add support for a custom board, you must create a custom board support file with the name custom_board.h. This file must be located in a directory in the Include path. You can then select to use the custom board by adding the define statement&amp;nbsp;&lt;code&gt;#define&lt;/code&gt;&amp;nbsp;&lt;code&gt;BOARD_CUSTOM&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The easiest way to create the custom_board.h file is to start with an existing platform definition file (for example&amp;nbsp;&lt;code&gt;pca10040.h&lt;/code&gt;) and adapt it to your needs.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Is that really all there is to say on the matter? Clearly this is not sufficient to inform a user to do something fundamental- to step away from the Nordic dev boards and implement a project for a custom board.&lt;/p&gt;
&lt;p&gt;Sorry, that is not good enough and really very poor customer support, both in the extent of the docs and the care and detail provided in your response - see the previous response from Tim. If it takes a community member to provide detailed support I think that speaks to the attitude of Nordic employees towards their users.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303407?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 09:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ba5bdc3-7aa0-453e-b641-1c53a9ac0e09</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;Hi Tim,&lt;/p&gt;
&lt;p&gt;thanks for the reply.&lt;/p&gt;
&lt;p&gt;I guess the part I don&amp;#39;t understand here is that currently, in SES, &amp;quot;BOARD_PCA10040&amp;quot; is highlighted in boards.h, indicating that this board is enabled in the project. How this is done is not clear to me.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;A search for&amp;nbsp;BOARD_PCA10040 returns no result - I&amp;#39;d assume that somewhere is a #define&amp;nbsp;&lt;span&gt;BOARD_PCA10040?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A look at the GCC example shows that there is a compiler flag&amp;nbsp;CFLAGS += -DBOARD_PCA10040&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I am using SES I would expect this to be a config option in PROJECT-&amp;gt;OPTIONS, I can&amp;#39;t see anything there or anywhere else.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Confusing.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303384?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 08:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bf791ed-82af-4ea6-9a2c-0805ba619734</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a title="Using the SDK with other boards" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/sdk_for_custom_boards.html?cp=7_5_2_1_5"&gt;Using the SDK with other boards&lt;/a&gt;&amp;nbsp;under Getting Started in the SDK documentation.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic SDK &amp; Custom boards</title><link>https://devzone.nordicsemi.com/thread/303300?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 18:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ad5656a-a76f-4ee3-9742-9a1092d318fb</guid><dc:creator>Tim Adu</dc:creator><description>&lt;p&gt;Hey Steven,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend one of two options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use an example project. You could pick an example project that&amp;#39;s very close to what your custom project would look like. For example if you needed a project with I2C, you could start with the &lt;strong&gt;twi_scanner&lt;/strong&gt; project.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Use a template project. I believe there are two template projects in the SDK:
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;examples &amp;gt; peripheral &amp;gt; template_project&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;examples &amp;gt; ble_peripheral &amp;gt; ble_app_template&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When you have decided on either (1) or (2), then you&amp;#39;d have to modify the paths to the SDK files in your custom project. You can do that through the Solution Editor in Segger Embedded Studio.&lt;/p&gt;
&lt;p&gt;And yes, you&amp;#39;d also have to create your own board file and add it to the boards.h file. You&amp;#39;d have to remove the BOARD_ PCA10040 macro in&amp;nbsp; the preprocessor definitions list and create your own macro, effectively enabling your own board definition.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt;Timothy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>