<?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>Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100821/build-own-custom-board-on-nrf-connect-sdk-devicetree</link><description>Hello, 
 hello i have created my own devicetree (.dts) file for a self developed board(nrf52dk_nrf52832_customer) based on the nrf52 chip. So I created an folder( named: nrf52dk_nrf52832_customer) at the following file path: 
 ncs\v2.3.0\zephyr\boards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Jun 2023 15:01:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100821/build-own-custom-board-on-nrf-connect-sdk-devicetree" /><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431546?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 15:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5be124a-be18-4421-a14c-b6f3f27aa2d7</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;If you&amp;#39;re using .dts and .dtsi for the nrf52833dk, it will use those files.&lt;/p&gt;
&lt;p&gt;you can use an overlay file if you want to change some stuff around, but if your board is sufficiently custom then you should be using that custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431532?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 14:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75941697-8bbf-4dc1-8586-f10fe407cc38</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Ok, now I create a board like you described earlier. But I only add the changed&amp;nbsp; dts file and dtsi file to the project(application) folder and I build the application with the nordic board&amp;nbsp;&lt;span&gt;nrf52832DK (from nrf Connect SDK). it works this way.&amp;nbsp;&lt;/span&gt;&lt;span&gt;But my question is: the dts and dtsi files from the nrf5832dk will be overwritten with the dts and dtsi files in the project (application folder)?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and I also ttry to create a custom board like you described it earlier. But I dont change any file in the custom board and it also works this way&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431524?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce159000-b32f-4f69-972a-c02ea78f5318</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Potentially.&lt;/p&gt;
&lt;p&gt;If I recall in the ticket I linked above (Link again for ref : &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100870/devicetree-peripherals"&gt;Devicetree Peripherals&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;my last response was the latest I knew of what was going on with your custom board situation.&lt;/p&gt;
&lt;p&gt;(and like I iterated there, I followed the gui to create a custom board and set up a .dts to add usb/uart in order to get hello world to print, and I did get it printing.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431523?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cf5f0d4-f4f8-488c-bb7a-22a945f4fb7a</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Ok, you think I make mistake with configuration of my .dts file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431521?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e465e7f-8b26-4e83-a072-aa4ac0a91c19</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Sounds like the issue is with your setup of the custom board, that narrows it down a bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431520?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:820e8fd8-ad72-48ae-ac9b-f2e950efb415</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Yes, it works with&amp;nbsp;&lt;span&gt;nrf52832DK&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431519?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:41:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f2656e3-85b3-4778-9d16-896a4463f1ea</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Can you try building it for a nrf52832DK really quick to determine if its specific to your custom board stuff?&lt;/p&gt;
&lt;p&gt;i.e. make a new build config&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686922852072v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for the nordic devkit of your target soc, do you get the same errors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431517?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f1b2142-f2d8-4a0d-8158-95aa1e22eaed</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;I think it is also related to Devicetree Peropherals&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431515?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 13:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cbe2597-e8a9-42bc-8091-29df2f2f2a11</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Is this duplicate to&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100870/devicetree-peripherals"&gt;Devicetree Peripherals&lt;/a&gt;&amp;nbsp;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431427?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 08:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd5e6488-d491-4c9b-9437-8a270553d182</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;I remove and rebuild the application and I now I get the following error messages:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686903371689v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is an error message that there is expexted an / in .dts file. However I add it. But the error message stilll remains&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686903465198v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431416?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 07:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c1a484-85f0-4dd7-9bea-caa2c13c8665</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;thank you for your answer. However I get the following error, when I tried to build an aplication with my custom board.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686900309923v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431402?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 05:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d523e0de-9663-42f5-9af5-1884a37a267a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Please take a look at&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/bd_work_with_boards.html#how-to-add-a-custom-board"&gt; this documentation &lt;/a&gt;and see if it helps you.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431246?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 12:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4366e05-dba7-436a-a420-c43e01a93746</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;For starters, in that error message I&amp;#39;m noticing that it says v2.3.0, but the SDK selected in your screenshot of the gui is pathing to v2.4.0&lt;/p&gt;
&lt;p&gt;Make sure you click the &amp;quot;Open welcome page&amp;quot; and change the SDK to the one you&amp;#39;re trying to use, or change it in the extension settings of VS code.&lt;/p&gt;
&lt;p&gt;~~~~&lt;/p&gt;
&lt;p&gt;That aside, I&amp;#39;ll walk through the process of custom board -&amp;gt; application with screenshots of the GUI.&lt;/p&gt;
&lt;p&gt;After you&amp;#39;ve created the new board, in the same menu is a &amp;quot;create new application&amp;quot;&lt;/p&gt;
&lt;p&gt;This is where you can choose from samples or whatnot. For now, let&amp;#39;s just use blinky.&lt;/p&gt;
&lt;p&gt;I created a custom board in the same process you have (via vscode gui) named exampleboard.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831167644v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;I tick &amp;quot;freestanding,&amp;quot; for the SDK/NRF Connect toolchain I use v2.4.0 since that&amp;#39;s the version you&amp;#39;re on, and here I just choose hello world sample as a template for the application. (Note: You could certainly choose blinky, but blinky requires some device tree updates since your custom device tree won&amp;#39;t have any i/o to add the LED)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831398530v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After creating it, you&amp;#39;ll see it under the applications section on the left hand side beneath where you have the &amp;quot;Welcome&amp;quot; menu options.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll notice under the application you just created it says &amp;quot;No build configurations&amp;quot;&lt;/p&gt;
&lt;p&gt;from here, you can click to create it, and create a build configuration for the custom board you&amp;#39;ve created.&lt;/p&gt;
&lt;p&gt;You can either choose &amp;quot;custom boards&amp;quot; or &amp;quot;all boards&amp;quot; and filter for the board you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831121213v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;From here you can click &amp;quot;build configuration&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now it will start building for the board you&amp;#39;ve selected. The first build (and any pristine build) can take a little bit, keep an eye on your nRF Terminal outputs to see it progressing.&lt;/p&gt;
&lt;p&gt;(Here is my terminal output for reference)&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831492117v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now, I plug in my board, and flash it with the &amp;quot;ACTIONS&amp;quot; menu&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831526613v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686831566863v7.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and there we go.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(Note: If you want the uart output, you&amp;#39;ve gotta update your .dts with some of the uart features. Recommend looking at the nRF52840DK device tree as a sample. Your custom board .dts is, for the most part, quite empty, so you need to update it. Here&amp;#39;s a link for some background on device tree : &lt;a id="" href="https://docs.zephyrproject.org/3.2.0/build/dts/intro.html"&gt;https://docs.zephyrproject.org/3.2.0/build/dts/intro.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, as a heads up, don&amp;#39;t neglect your prj.conf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431226?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 11:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cc4113a-2a21-4a61-8c71-ac0796303e3b</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;hank you for your answer. I tried it with the video. However it dosnt work. When I want to build it with the west build commands.The following error appears:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="21" src="https://devzone.nordicsemi.com/resized-image/__size/1222x42/__key/communityserver-discussions-components-files/4/pastedimage1686828045087v2.png" width="611" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did some research and found out that you can also create custom boards with VS Studio code. Is there maybe an instruction or something like that, how I have to proceed exactly here. I have tried it via the Create a new board button to proceed (see picture).&amp;nbsp; After I have then clicked on Create Board a board file is created. But how can I now build an application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="315" src="https://devzone.nordicsemi.com/resized-image/__size/664x630/__key/communityserver-discussions-components-files/4/pastedimage1686828565975v3.png" width="332" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431225?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 11:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9dbbfc-afa1-4194-aea4-d6d1502dde55</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;thank you for your answer. I tried it with the video. However it dosnt work. When I want to build it with the west build commands.The following error appears:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:21px;max-width:611px;" height="21" src="https://devzone.nordicsemi.com/resized-image/__size/1222x42/__key/communityserver-discussions-components-files/4/pastedimage1686828045087v2.png" width="611" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did some research and found out that you can also create custom boards with VS Studio code. Is there maybe an instruction or something like that, how I have to proceed exactly here. I have tried it via the Create a new board button to proceed (see picture).&amp;nbsp; After I have then clicked on Create Board a board file is created. But how can I now build an application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:315px;max-width:332px;" height="315" src="https://devzone.nordicsemi.com/resized-image/__size/664x630/__key/communityserver-discussions-components-files/4/pastedimage1686828565975v3.png" width="332" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build own custom board on nrf Connect SDK(Devicetree)</title><link>https://devzone.nordicsemi.com/thread/431067?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 14:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee39d45-71b7-4b61-a3cd-51b3c12d87f7</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Make sure you choose the button for &amp;quot;all boards&amp;quot; hidden behind that dropdown.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Since you placed the board in ncs/v2.3.0, make sure ncs v2.3.0 is your selected ncs version in the vscode settings. (Visible on the home screen)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There are also a few more files if I recall correctly you need in the custom board folder aside from the .dts, but it&amp;#39;s been a long while since I made the custom board&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a really handy video that I used to make a custom board for customer:&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=KSivO9Cf1TE&amp;amp;t=905s&amp;amp;ab_channel=NordicSemiconductor"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>