<?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>How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49719/how-to-create-a-custom-board-file-for-the-nrf9160</link><description>I am trying to create a custom board file in the ncs/zepher/boards directory for our nRF9160. 
 If I copy the nrf9160_pca10090 directory to a new nam eg. nrf9160_newboard it will compile and run just fine. 
 Then when i change the name of the files to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Sep 2019 15:10:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49719/how-to-create-a-custom-board-file-for-the-nrf9160" /><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/210760?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 15:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d78d45-7f4b-4cf1-9c6f-a28105dc3cca</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Will you&amp;nbsp;sum up the above&amp;nbsp;practice in user manual&amp;nbsp;in the near future? If so, I appreciate it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/204842?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 15:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fece8a19-52e4-4961-b908-7ca77cc6181f</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need to get all this written in our documentation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/204822?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 14:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db5cf6e-d70f-49ac-9e44-ec11fed4edf9</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Ok, I made it!&lt;/p&gt;
&lt;p&gt;Over in the nrf/samples/nrf9160/spm directory, make a copy of nrf9160_pca10090.overlay renamed to match the new board name.&lt;/p&gt;
&lt;p&gt;This is required.&lt;/p&gt;
&lt;p&gt;Thank you so much, jbrzozoski!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/203802?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 11:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd213254-5733-42cf-9b04-866e6ae3e73a</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;See the above note I copied it here since I had trouble finding it in this thread&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Placed the folder&amp;nbsp;&lt;em&gt;nrf9160_pca20190&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;into&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&amp;lt;..&amp;gt;/ncs/zephyr/boards/arm&amp;nbsp;&lt;/em&gt;with all the files you provided&lt;/li&gt;
&lt;li&gt;Added the following lines of code into&amp;nbsp;&lt;em&gt;&amp;lt;..&amp;gt;\ncs\zephyr\cmake\app\boilerplate.cmake&lt;/em&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(FIRST_BOILERPLATE_EXECUTION)
.
.
else() # NOT FIRST_BOILERPLATE_EXECUTION
.
.
    set(BOARD nrf9160_pca20035)
    message(&amp;quot;Changed board to secure nrf9160_pca20035 (NOT NS)&amp;quot;)
  endif()
  
    if(${BOARD} STREQUAL nrf9160_pca20190ns)                     //Added this
    set(BOARD nrf9160_pca20190)                                  //Added this
    message(&amp;quot;Changed board to secure nrf9160_pca20035 (NOT NS)&amp;quot;) //Added this
  endif()                                                        //Added this
  
  unset(${IMAGE}DTC_OVERLAY_FILE)...
  .
  .
  .&lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Built and flashed the hello world sample by running the commands&amp;nbsp;&amp;nbsp;&amp;quot;&lt;em&gt;west&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;build -b nrf9160_pca20190ns&amp;quot;&amp;nbsp;&lt;/em&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&amp;quot;west flash&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;This should solve your problem&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/203731?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 07:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853f6e98-8c37-4501-b1d5-02d0e1f7403e</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi, jbrzozozski and Jeff,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also stuck on the same issue. I&amp;#39;m attempting to build hello_world program on&amp;nbsp;&lt;em&gt;nrf9160_pca20190&lt;/em&gt; custom board file.&lt;/p&gt;
&lt;p&gt;How did you fix DTS?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/201991?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 19:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fabb5f49-d1dc-41af-8680-6ddb197e36c3</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;Yes I do not trust these tools yet, and do not like how things are scattered about the system.&amp;nbsp; I have more tweeking to do before I am happy with the way projects are set up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/201990?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 19:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe5009d3-6220-44f4-b141-a8da7bf1e659</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;I tend to live on the command line unless I&amp;#39;m using the debugger specifically.&amp;nbsp; That&amp;#39;d be why I couldn&amp;#39;t find it.&amp;nbsp; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you care, my alternative method is persistent and works for both the command line and SES.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/201987?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 18:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0633366-6aca-4b60-808e-3381de629bff</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;The tool is from the menu bar&amp;nbsp; Project-&amp;gt;Edit Device Tree.&amp;nbsp; A word of warning the Configure nRF Connect SDK Project settings are lost if you load the project with a clean build directory, I do not Know about the&lt;/p&gt;
&lt;p&gt;settings in the Edit&amp;nbsp;Device Tree.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x300/__key/communityserver-discussions-components-files/4/dev-tree-tool.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/201973?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 16:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d88f4f0e-5bfd-4087-b027-5d93d91704b3</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;Figured out an alternative method: the mismatched DTS configs were because there is an overlay specifically targeting boards named nrf9160_pca10090 in the SPM source directory.&amp;nbsp; I just imitated that file and renamed it to match my new board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/201972?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 16:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cad5f325-eb77-4003-b8ae-adc9715e65cc</guid><dc:creator>jbrzozoski</dc:creator><description>[quote userid="27282" url="~/f/nordic-q-a/49719/how-to-create-a-custom-board-file-for-the-nrf9160/199558"]Then I edited the device tree configuration, using the device tree tool, and changed that status of the peripherals that were giving me the errors.&amp;nbsp; The SPM sample then compiled.[/quote]
&lt;p&gt;I&amp;#39;m stuck on this step, and trying to figure out which device tree tool you&amp;#39;re talking about.&amp;nbsp; Can you please send me a pointer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/200049?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 12:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f03c5028-23b8-4aed-8f6c-ff7c4a0c208f</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;Thanks Simon that is the part I was missing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/199883?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 20:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b072f2-eaf6-4ebe-9371-ac418aa4c20b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I was able to flash and build a hello world nonsecure example with your custom board by executing these steps:&lt;/p&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li&gt;Placed the folder&amp;nbsp;&lt;em&gt;nrf9160_pca20190&lt;/em&gt; into &lt;em&gt;&amp;lt;..&amp;gt;/ncs/zephyr/boards/arm&amp;nbsp;&lt;/em&gt;with all the files you provided&lt;/li&gt;
&lt;li&gt;Added the following lines of code into&amp;nbsp;&lt;em&gt;&amp;lt;..&amp;gt;\ncs\zephyr\cmake\app\boilerplate.cmake&lt;/em&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(FIRST_BOILERPLATE_EXECUTION)
.
.
else() # NOT FIRST_BOILERPLATE_EXECUTION
.
.
    set(BOARD nrf9160_pca20035)
    message(&amp;quot;Changed board to secure nrf9160_pca20035 (NOT NS)&amp;quot;)
  endif()
  
    if(${BOARD} STREQUAL nrf9160_pca20190ns)                     //Added this
    set(BOARD nrf9160_pca20190)                                  //Added this
    message(&amp;quot;Changed board to secure nrf9160_pca20035 (NOT NS)&amp;quot;) //Added this
  endif()                                                        //Added this
  
  unset(${IMAGE}DTC_OVERLAY_FILE)...
  .
  .
  .&lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Built and flashed the hello world sample by running the commands&amp;nbsp;&amp;nbsp;&amp;quot;&lt;em&gt;west&lt;/em&gt; &lt;em&gt;build -b nrf9160_pca20190ns&amp;quot;&amp;nbsp;&lt;/em&gt;and &lt;em&gt;&amp;quot;west flash&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;I might have done some more changes that I have forgotten, but try to execute my steps and see if you are able to make it work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/199558?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 13:46:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f3ce52f-1c90-45c6-83f2-2074bca5e00b</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;On your advice I tried programming the SPM sample.&lt;/p&gt;
&lt;p&gt;When I first tried Programming SPM with the board set to&amp;nbsp;&lt;span&gt;nrf9160_newboard I did get the PWM and UART errors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then I edited the device tree configuration, using the device tree tool, and changed that status of the peripherals that were giving me the errors.&amp;nbsp; The SPM sample then compiled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I moved back to my hello world test I needed to edit the device tree for that project.&amp;nbsp; However the changes made in the device tree did not affect the errors when compiling.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/198439?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 11:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8429b0ef-96db-441d-9616-e2fda100b0f5</guid><dc:creator>Jeff Seaman</dc:creator><description>&lt;p&gt;I have run the hello world example as a secure application and that works.&amp;nbsp; The problem is when I try to run it as a non-secure application.&amp;nbsp; I am attaching a zip file of the board directory.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9160_5F00_cti.zip"&gt;devzone.nordicsemi.com/.../nrf9160_5F00_cti.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom board file for the nRF9160</title><link>https://devzone.nordicsemi.com/thread/198310?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 07:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36990d9e-6c79-45cf-be75-7645bbe5d352</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you remembered to set the Secure Partition Manager to your custom board too? It seems that the SPM example is still using the regular board. I would try opening the SPM example with that custom board, building &amp;amp; then go back to your example &amp;amp; trying that again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>