<?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>VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102581/vs-code-workflow-extension-with-ncs-example-application</link><description>Hi DevZone, 
 I have been looking at ways to use the NCS and VS Code Extension with our git provider to set up a project repo which will be buildable in a reproducible way across our team. My current goal is to set up a workspace application as suggested</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Oct 2023 11:01:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102581/vs-code-workflow-extension-with-ncs-example-application" /><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/448619?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 11:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d38e8ec8-b919-4eec-a065-3cd46f99b826</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Aloysious,&lt;/p&gt;
&lt;p&gt;Please create a new ticket for your question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our suggestion if you are getting started with nRF Connect SDK is to go through our course in Nordic Academy:&amp;nbsp;&lt;br /&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;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/448612?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 10:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6513ea6-bfff-404d-ad62-6767a8a88212</guid><dc:creator>Aloysious Benoy</dc:creator><description>&lt;p&gt;What is the workflow we should use when working with such the example application using VS code and the connect extension?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/440490?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 12:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec3dbc54-abd3-4985-861c-6802c8568f7c</guid><dc:creator>nasinn</dc:creator><description>&lt;p&gt;It builds like that so all good, thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/440315?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 12:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83e1da9a-4a33-44b0-849b-ea762b06d8dc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nasinn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I got help from one of our coworker, could you try follow his instruction ?&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;It is a &amp;quot;workspace&amp;quot; style application (requires a completely separate copy of the SDK to be pulled in).&amp;nbsp;&lt;/em&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt;Here are my steps for a successful build. I think all the steps has to be done by command line, with a toolchain setup.&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Open a toolchain manager launched command line window&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;I think a regular command line window would work if the PC already has a manual installation of the SDK&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;set ZEPHYR_BASE=&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/code&gt;This is to clear ZEPHYR_BASE&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;west init -m &lt;a title="https://github.com/nrfconnect/ncs-example-application" href="https://github.com/nrfconnect/ncs-example-application" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/ncs-example-application&lt;/a&gt; --mr main .&lt;br /&gt;&lt;/code&gt;(west init the application to the current empty folder)&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;The README of the example application guides you to set it up in a folder named &amp;quot;my_workspace&amp;quot; instead. No difference here.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;At the end of this, my empty folder now contains one folder named &amp;quot;.west&amp;quot; and another named &amp;quot;ncs-example-application&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;west update&lt;/code&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;cd ncs-example-application\app&lt;/code&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;west build -b custom_plank&lt;/code&gt;&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;&lt;em&gt;I did start with VS Code, but all I did is get a the nRF Connect terminal window and run &lt;code&gt;cmd&lt;/code&gt; to finish step 1 instead of just using the Toolchain Manager&lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/440219?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 06:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2ee41cd-a3c0-4948-ada3-3e10eac3ba2a</guid><dc:creator>nasinn</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I used the nRF Connect Desktop on my MacOS to install which then put the latest sdk under /opt/nordic/ncs so that I think is all as it should be.&lt;/p&gt;
&lt;p&gt;Thanks for the clarification on the board roots location. It is &amp;quot;good&amp;quot; to hear you also have the same problem once you got the board selected but yeah, I am keen to hear what the&amp;nbsp;deal is with the example template, and if it is recommended to use that or just go with the workspace app structure generated by the extension.&lt;/p&gt;
&lt;p&gt;As you suggest my solution so far has been just to use the generated structure as made by the VS Code extension which works very well, I am a big fan&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&amp;nbsp;also the dev academy is a great way to start with the NCS, at least for me coming from the SDK 17 etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code workflow extension with ncs-example-application</title><link>https://devzone.nordicsemi.com/thread/440156?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 14:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b9caac-e582-446c-a8cf-7bb353408c7e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nasinn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Instead of using the guide from Zephyr to install our NCS SDK, have you tried to follow our installtion guide instead ?&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/installation.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/installation.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Our recommendation is to choose the install automatically path. I would assume you can install the nRF Connect for Desktop app on your Operating system (MACOS ?)&lt;/p&gt;
&lt;p&gt;I will have to check internally on how this template can be used with VSCode. My understanding is that it&amp;#39;s original made to be used with west as in the instruction.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With regarding to board file, you can select where VSCode should look for custom board file by go to File -&amp;gt;Preferences-&amp;gt; Settings-&amp;gt; Extension-&amp;gt; nRF Connect -&amp;gt; Board Roots.&amp;nbsp;&lt;br /&gt;By default VSCode will look inside the&amp;nbsp;app folder to find boards\arm folder. So another option is to copy the arm folder and put it inside app\boards, instead of putting it in the root folder.&amp;nbsp;&lt;br /&gt;However, when I did that and compiled for custom_plank I also got an error about&amp;nbsp;__device_dts_ord_ . I&amp;#39;m checking internally to figure why.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My suggestion is to go with the structure that made by VSCode. It&amp;#39;s the minimum structure for simple application. For more advanced application/structure you can check out the &amp;quot;applications&amp;quot; for example&amp;nbsp;asset_tracker_v2 or&amp;nbsp;nrf_desktop .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>