<?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>DTS file editing autocomplete, etc.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125478/dts-file-editing-autocomplete-etc</link><description>Greetings, all. I&amp;#39;m a rank beginner here with all things Nordic but almost 50 years of embedded experience with other devices, environments, etc. I&amp;#39;m trying to develop for a custom board with an nRF52840 using the nRF Connect VS Code extension with SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Nov 2025 14:16:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125478/dts-file-editing-autocomplete-etc" /><item><title>RE: DTS file editing autocomplete, etc.</title><link>https://devzone.nordicsemi.com/thread/553699?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 14:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4fd6e12-ab82-4ab3-a70a-7149ed902c14</guid><dc:creator>Dave Littell</dc:creator><description>&lt;p&gt;Hahaha, completely understood.&amp;nbsp; Once you&amp;#39;re in The Club you Just Know and it&amp;#39;s all So Much Easier!&amp;nbsp; ;)&amp;nbsp; I&amp;#39;ll get there!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTS file editing autocomplete, etc.</title><link>https://devzone.nordicsemi.com/thread/553693?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 14:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60401131-4bb0-4902-98fa-09c8a00d7b50</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Happy to help and I totally understand. If you have any questions related to the topic in here or in&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/125488/devicetree-visual-editor-catch-22"&gt;DeviceTree Visual Editor catch-22&lt;/a&gt;&amp;nbsp;I&amp;#39;ll do my best to answer (within Norwegian work hours)&lt;br /&gt;&lt;br /&gt;I will not try to hide that DTS and Zephyr/NCS has a steep learning curve and that the abstraction layer is somewhat.. abstract, which doesn&amp;#39;t help when you&amp;#39;re trying to set up a demo or develop something under time pressure with limited familiarity with the system, but I sincerely believe that it&amp;#39;s easy to use once you get rolling (wow I sound like a Linux enthusiast trying to convince a hardcore Windows user to convert)&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTS file editing autocomplete, etc.</title><link>https://devzone.nordicsemi.com/thread/553687?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 13:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0563fc-17a5-4f1a-8386-e1c03652891b</guid><dc:creator>Dave Littell</dc:creator><description>&lt;p&gt;Thank you for the reply. &amp;nbsp;I&amp;#39;m sure I&amp;#39;m trying to run before I can even slither but that&amp;#39;s an artifact of extreme schedule pressure. &amp;nbsp;Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTS file editing autocomplete, etc.</title><link>https://devzone.nordicsemi.com/thread/553682?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 13:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01464a99-93ba-4a26-a69f-aedf351e846c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;Glad you&amp;#39;re reaching out and starting with NCS and Zephyr.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll give you a brief overview here over some very handy getting started resources&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;, our academy pages has fundamental and intermediate courses ranging installing/setting up the SDK to implementing peripherals, BLE and DFU support in your product. All content here is created through the public documentation
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;also has an introductory course to DTS and all peripheral lesson goes through how to use the DTS&lt;/li&gt;
&lt;li&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate&lt;/a&gt;&amp;nbsp;the intermediate course expands on the fundamental and has&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/work_with_devicetree_editor.html"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/work_with_devicetree_editor.html&lt;/a&gt;&amp;nbsp;the VS Code extensions &amp;quot;How to work with the devicetree editor&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/dts/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/dts/index.html&lt;/a&gt;&amp;nbsp;for the zephyr devicetree documentation&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/index.html&lt;/a&gt;&amp;nbsp;is the landing page for the NCS documentation. Beneath the &amp;quot;Introduction&amp;quot; title, there&amp;#39;s a menu you can expand to select which SDK version you&amp;#39;re working with and on the left side table of contents menu you can navigate between various topics.&amp;nbsp;&lt;br /&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/6644.pastedimage1762519012745v1.png" alt=" " /&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;You can also see some tech webinars here:&amp;nbsp;&lt;a href="https://webinars.nordicsemi.com/events"&gt;https://webinars.nordicsemi.com/events&lt;/a&gt;&amp;nbsp;as well as visit the &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog"&gt;blogs/guides section of Devzone&lt;/a&gt;&amp;nbsp;for some additional reading&lt;/li&gt;
&lt;/ol&gt;
[quote user=""]Beyond that, is there some helpful tutorial or documentation for creating a non-trivial DTS for an nRF-based custom board?&amp;nbsp; When I worked with the DTS stuff for embedded Linux a decade ago it was truly all Tribal Lore and a trial-and-lots-of-error horror.&amp;nbsp; Has this improved?&amp;nbsp; I had high hopes for the Devicetree Visual Editor but don&amp;#39;t really know where to start with that either for a custom board.[/quote]
&lt;p&gt;Back to your question, I would say the best angle of attack is the fundamental and intermediate NCS courses, which mainly focuses on editing the dts file directly. The intermediate takes it one step further and shows how to create your own custom board and the corresponding custom board files. This should give you a familiarization with how a project uses, sets up and allows for customization of board files.In addition, the link in item 2 above is very useful for getting to know the DTS helper.&lt;/p&gt;
&lt;p&gt;When you&amp;#39;ve gone through the academy courses/the relevant lessons, there is as you say the visual editor, but it requires some familiarity with the SDK/Zephyr and how to use board files in a project.&amp;nbsp;&lt;/p&gt;
[quote user=""] Has this improved?&amp;nbsp;[/quote]
&lt;p&gt;It has improved significantly is my understanding when talking to colleagues who&amp;#39;s been working with dts pre-Zephyr (or even from early days of NCS).&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>