<?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 modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85246/how-to-modify-a-custom-board-after-creation</link><description>Hello, Support 
 I am new to Nordic and try to follow the tutorial video here https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code/Tutorials 
 Just created a board and build, but later I need to add a few things to my board -</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Mar 2022 08:56:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85246/how-to-modify-a-custom-board-after-creation" /><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/358137?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 08:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a4e03c-b4f1-4589-86fe-3282fd513c5a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Yes, running the env.cmd&amp;nbsp;will do the trick&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;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/358057?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 17:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e731eaa2-0c31-4862-98b5-d49b3644386e</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thanks, Priyanka&lt;/p&gt;
&lt;p&gt;Run the env.cmd seems working, I hope I only need to run it once, is that right?&lt;/p&gt;
&lt;p&gt;I am lost in the link you gave, sorry.&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/358045?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 16:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45637735-68f0-4ae3-8133-70b8958a4f44</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can check&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/dm_adding_code.html"&gt; this link&lt;/a&gt; for setting west tool to your project folder. You can also run the file&amp;nbsp;&lt;em&gt;v1.9.0\toolchain\cmd\env.cmd&lt;/em&gt; from the command line that you are going to use.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/357502?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 17:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a305d0be-6046-485c-9e86-9df90dde366e</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thanks for reply, Priyanka&lt;/p&gt;
&lt;p&gt;It looks like VS Code is only used as an editor here, not&amp;nbsp;use as IDE etc. like build, create a particular build for a board, and flash etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I noticed it needs to change the cMakeLists.txt if the board file is outside the tree, - adding an APPEND etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And I am fully use VS code for now, and it requires my own project outside of Zephyr tree, so the west tool won&amp;#39;t work there - not sure how to set this? is there a way to let west tool work in my own project folder? - outside the nrf connect installation.&lt;/p&gt;
&lt;p&gt;The video I referred is here -&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code/Tutorials,"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code/Tutorials,&lt;/a&gt;&amp;nbsp;it create board at custom location,&amp;nbsp;the author&amp;nbsp;modified a few LEDs in .dts file, but did not go through other important changes it needs to let the custom LED working, and&amp;nbsp;I found that it only works when I don&amp;#39;t need to use any board specific features like LEDs etc. A bit misleading as I spent ages try to do it that way.&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;p&gt;Ping&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/357483?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 15:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5669a44c-be3e-466e-8665-1ec6db744482</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe this is possible. Did you refer to&lt;a href="https://www.youtube.com/watch?v=KSivO9Cf1TE"&gt; this video tutorial&lt;/a&gt;? It shows how the custom development works in VS Code too.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/357468?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 15:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00069b8f-67e8-49b3-94ef-ee08877baa59</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Priyanka&lt;/p&gt;
&lt;p&gt;I followed the guide and copy, paste and modified&amp;nbsp;a board under Zephyr tree to be my Fanstel one, and LEDs and Buttons are now working. This is much easier than create a custom board outside Zephyr tree as the video tutorial&amp;nbsp;&amp;nbsp;does, but it doesn&amp;#39;t have an complete example to run through, so a bit misleading as the later part might be hard.&lt;/p&gt;
&lt;p&gt;Now my question is , may&amp;nbsp;I manually copy the custom board I put under Zephyr tree to be&amp;nbsp;somewhere else&amp;nbsp;outside the tree and will it be still recognised by VS Code? I want to leave the Zephyr tree alone.&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/356133?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 17:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93934001-0304-4c87-87d3-6ae7f68819ca</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thanks, where shall I create a device struct please? is it the&amp;nbsp;.yaml file I need to create? could you please give an example? it is just for the blinky example, hope that is not complicated. I am sorry, it is seem snot easy as i use VS code IDE, not directly form command line.&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355984?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 10:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a1efaf-170e-42d0-9f44-070ce2761806</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No problem at all &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;. This could be because you have not created a device struct. Details regarding this has also been covered in the Tutorial that I have linked earlier. You could take a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/zephyr/guides/porting/board_porting.html"&gt;Board Porting Guide&lt;/a&gt; and also at the &lt;a href="https://docs.zephyrproject.org/latest/reference/drivers/index.html"&gt;Device Driver Model&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355625?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 15:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:115f4e0e-b7b2-48fb-a71e-9d76edd958f7</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hello, Priyanka&lt;/p&gt;
&lt;p&gt;Thanks for reply, I&amp;nbsp;am only trying the&amp;nbsp;blinky sample, try to do it on a custom board - the Fanstel one, I copied the gpio-leds&amp;nbsp;and aliases part into the device tree file *.dts when I created the board, and build seems fine, but it doesn&amp;#39;t run. When&amp;nbsp;I debug it, the&amp;nbsp;device_get_binding() function returns 0,&amp;nbsp; &amp;nbsp;what else do&amp;nbsp;I need to do in order to run that on my custom board please. I created the board under myMroject folder. And use VS Code for IDE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards! I am sorry to bother you,&amp;nbsp;I am new to Zephyr and Nordic.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355591?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 14:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9767fe-21ff-45f1-aaa2-ddcf62e2a567</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Yes, the overlay file has the same effect as modifying the dts file, but modifying the dts file each time can be hectic, which is why using an overlay file can be helpful.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355490?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 10:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c128fa9d-796f-4dae-b8e2-2c9a5f87c106</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Priyanka&lt;/p&gt;
&lt;p&gt;Thanks, if I modify&amp;nbsp;&lt;span&gt;customBoard.dts&amp;nbsp;after it is created and then do a Pristine build,&amp;nbsp;will be be taking effect? As an overlay does?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ping&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355482?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 10:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfd39407-731a-49f9-9bce-dff76e11e16f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can create an overlay file for this &amp;quot;&amp;lt;&lt;em&gt;board_name&lt;/em&gt;&amp;gt;.overlay&amp;quot; and changes in here will be implemented when you build again. You don&amp;#39;t have to delete the build, and board and re-create from scratch. Details regarding this might be found in the Tutorial series.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355357?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 16:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f25f6053-9bf0-40fd-ab89-b21cb6da6709</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Priyanka&lt;/p&gt;
&lt;p&gt;Thanks for reply! I will try to read link you sent.&lt;/p&gt;
&lt;p&gt;I generated board use VS IDE by modifying the customBoard.dts file before the build is added , is there an easy way to do it in VS? I am currently doing it by delete the build and also the board and then re-create from scratch,&amp;nbsp;is there a better way to do it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;p&gt;Ping&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to modify a custom  board after creation</title><link>https://devzone.nordicsemi.com/thread/355345?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 15:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4e8233-7057-458b-b3dc-1d1519c93552</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could take a look at our &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0"&gt;Getting Started Guide&lt;/a&gt; for the nRF Connect SDK, where there are explanations for custom boards, modifications etc.&lt;/p&gt;
&lt;p&gt;The Guide was written for a previous version, but the implementations remain similar and there are 4 parts of the Guide.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>