<?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>VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115872/vscode-troubles-with-ncs-2-7-0-and-hardware-model-2-boards</link><description>I&amp;#39;m migrating our project with custom boards from NCS 2.6.1 to 2.7.0, and I&amp;#39;m having a number of issues in the vscode extension (v2024.9.87): 
 
 The &amp;quot;Create a new board&amp;quot; option is creating hardware model 1 board start files, which is not useful when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Nov 2024 13:15:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115872/vscode-troubles-with-ncs-2-7-0-and-hardware-model-2-boards" /><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/511087?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 13:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22362eeb-269b-4d77-a291-1ee70001410a</guid><dc:creator>Ben K</dc:creator><description>&lt;p&gt;With NCS v2.8.0 and an update to the VSCode extension (v2024.11.75), the custom boards can be selected in the build configuration window, and I can use the usual workflow to build, flash and debug. The only problem I still have is that the boards cannot be loaded from the saved cmake presets, so every time I need to browse them from the list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/508768?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 08:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e71236a3-6d35-49c5-9343-d562d8fc0789</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, I see. The reason it worked for me was that I didn&amp;#39;t test with a custom board, like you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I talked with some of the developers, and they said that, unfortunately, at this point custom hardware model v2 boards are not supported in the GUI in VS Code. This will be introduced in a later release. So for now, I am afraid that the only option is to build using the command line.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/508728?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 20:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ed247ec-ee9c-4c70-ac38-430f10ccb4e9</guid><dc:creator>Ben K</dc:creator><description>&lt;p&gt;No, building from vscode&amp;#39;s command line works, but the result is the same as rebuilding all configurations with the nRF Connect extension button, the extension detects them, but doesn&amp;#39;t list them, so I cannot switch between my different boards. (see my last posted image)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/508539?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 14:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde71506-eec0-4e0f-8ed6-853eef0a6f1e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;They are still working on the custom board support. I believe the recommended workaround is to create the build configuration using the command line to build the initial build:&lt;/p&gt;
&lt;p&gt;west build -b &amp;lt;board name&amp;gt; -d &amp;lt;build_folder_name&amp;gt; -- -&amp;lt;DCMAKE_COMMANDS&amp;gt;&lt;/p&gt;
&lt;p&gt;And then, at least in my case, the build appears in the build configuration list. Does that work in your case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/508249?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 20:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c04ef6-d772-4a14-a05b-ce7f26ff7a0e</guid><dc:creator>Ben K</dc:creator><description>&lt;p&gt;I would love to, but VSCode doesn&amp;#39;t allow me to select the board in the build configuration. What I could do was to build successfully on 2.6.1, then switch to the 2.7.0 branch, where I can still re-run the same build configuration. I couldn&amp;#39;t select any other build configurations, nor could I edit the current one. The build itself passes fine, also the west boards command is listing my out-of-tree boards.&lt;/p&gt;
&lt;p&gt;Existing build configurations invisible after update to 2.7.0:&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/pastedimage1730147569647v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;This bubble pops up when the build completes:&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/pastedimage1730150065571v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode troubles with NCS 2.7.0 and hardware model 2 boards</title><link>https://devzone.nordicsemi.com/thread/508205?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 14:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee134f5-e594-4d6a-ad2a-59d0a622cab2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The support for custom boards in the VS Code extension is lagging behind a bit after the switch to Hardware model v2, introduced in 2.7.0.&lt;/p&gt;
&lt;p&gt;Let me run your questions by our VS Code team, but first, can you please share some build logs and screenshots of the parts that aren&amp;#39;t working in your exercise?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>