<?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>Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90611/selection-of-the-custom-board-option-is-gone-in-vscode-ncs-2-0-0</link><description>Hi All, Today I am migrating my project from ncs 1.9.1 to ncs 2.0.0. 
 The project was building find with ncs 1.9.1 
 But I do got this with rebuilding with ncs 2.0.0 (I did remove the build output directory to force a clean rebuild ;-) 
 I do use a custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 09:00:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90611/selection-of-the-custom-board-option-is-gone-in-vscode-ncs-2-0-0" /><item><title>RE: Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/thread/380312?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 09:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f177860-b446-498c-a666-22834f593206</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="nRF5xFanboy"]When I open the&amp;nbsp;&amp;quot;edit board configuration&amp;quot; I&amp;nbsp;always end up with one of the two scenario&amp;#39;s:&lt;br /&gt;a) the custom board option is gone.&amp;nbsp;[/quote]
&lt;p&gt;I am not able to reproduce this issue&amp;nbsp;with a board root folder in the board roots setting in workspace. Are you opening the same workspace every time, with your board root set correctly in nrf-connect.boardRoots when you open the workspace?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please generate support information in VS Code and upload it here next time you see this issue. Make sure to not make any changes to the workspace between seeing the issue and generating the information. You can generate support information by opening the command palette and writing&amp;nbsp;&lt;strong&gt;nRF Connect: Generate support information&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/thread/379892?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 11:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b742059a-9a52-46e5-a007-ebe12895b6d4</guid><dc:creator>nRF5xFanboy</dc:creator><description>&lt;p&gt;Hi Marte,&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;The application I am working on was created by another person with ncs 1.5.1 with SES.&lt;br /&gt;because NCS 2.0.0 is no longer working with SES some things are&amp;nbsp;different&amp;nbsp;when using VScode.&lt;br /&gt;So yes moving from SES to vscode means moving&amp;nbsp;some settings from files to the proper location (in vscode) to&amp;nbsp;drive the whole build system correctly.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I understand you reply&lt;br /&gt;&lt;br /&gt;Sorry to say my original post was not complete.&amp;nbsp;&lt;span&gt;I forgot to tell, I do have the buildroots also present within VScode nrf-connect (see my dump of the workspace) but still VScode acts weird upon opening&amp;nbsp;the workspace.&lt;br /&gt;When I open the&amp;nbsp;&amp;quot;edit board configuration&amp;quot; I&amp;nbsp;always end up with one of the two scenario&amp;#39;s:&lt;br /&gt;a) the custom board option is gone.&amp;nbsp;&lt;br /&gt;b) the selection&amp;nbsp;dot is on &amp;quot;All boards&amp;quot;&amp;nbsp;and not on custom board (but the custom board is&amp;nbsp; displayed in the textbox)&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;The expected scenario is having selected the bullet&amp;nbsp;&amp;quot;custom boards&amp;quot; and the name displayed but I did not encounter that.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; nRFxFanBoy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/thread/379887?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 11:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d6cf493-5456-42d3-9817-f5b68be7359f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As I stated in my previous reply, you must set this in the nRF Connect for VS Code extension settings in VS Code. Please see the picture in my previous reply for where to set this. For more information, see&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/build_app.html#finding-custom-boards"&gt;Finding custom boards&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/thread/379808?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 07:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9649fc1c-7f98-4749-9e2e-2c5f094ecabe</guid><dc:creator>nRF5xFanboy</dc:creator><description>&lt;p&gt;Hello Marte,&lt;br /&gt;&lt;br /&gt;I have a&amp;nbsp;BOARD_ROOT path see below the cmakelist.txt in the root of my application folder.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Include additional &amp;#39;Zephyr&amp;#39; modules: custom-SDK
set(ZEPHYR_EXTRA_MODULES $ENV{CUSTOM_SDK_BASE})

# This board folder file is picked by the Zephyr build system
set(BOARD_ROOT $ENV{CUSTOM_SDK_BASE})

# Include the expansion board definition
set(SHIELD custom_eth_click)

# Set custom dts root
set(DTS_ROOT $ENV{CUSTOM_SDK_BASE})

# find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})

project(blinky LANGUAGES C VERSION 1.2.3)
configure_file(app_version.h.in ${CMAKE_CURRENT_LIST_DIR}/src/include/app_version.h)

# Project-specific modules
add_subdirectory(src)&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;I have the feeling this information does not reach VScode&amp;nbsp;upon build (or when i opening the project for the first time).&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I also have the nrf-connect-boardroots&amp;nbsp;in the code-workspace&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
	&amp;quot;editor.formatOnSave&amp;quot;: true,
	&amp;quot;nrf-connect.welcome.showOnStartup&amp;quot;: true,
	&amp;quot;folders&amp;quot;: [
		{
			&amp;quot;name&amp;quot;: &amp;quot;blinky&amp;quot;,
			&amp;quot;path&amp;quot;: &amp;quot;.&amp;quot;
		},
		{
			&amp;quot;name&amp;quot;: &amp;quot;custom_SDK&amp;quot;,
			&amp;quot;path&amp;quot;: &amp;quot;${workspaceFolder}/../custom_SDK&amp;quot;
		},
		{
			&amp;quot;name&amp;quot;: &amp;quot;v1.9.1&amp;quot;,
			&amp;quot;path&amp;quot;: &amp;quot;c:\\cm\\ncs\\v1.9.1&amp;quot;
		}
	],
	&amp;quot;settings&amp;quot;: {
		&amp;quot;nrf-connect.applications&amp;quot;: [
			&amp;quot;${workspaceFolder}&amp;quot;
		],
		&amp;quot;nrf-connect.boardRoots&amp;quot;: [
			&amp;quot;${workspaceFolder}/../custom_SDK&amp;quot;
		],
		&amp;quot;nrf-connect.topdir&amp;quot;: &amp;quot;c:\\cm\\ncs\\v1.9.1&amp;quot;,
		&amp;quot;nrf-connect.toolchain.path&amp;quot;: &amp;quot;${nrf-connect.toolchain:1.9.1}&amp;quot;
	}
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Any hint / tips / information is welcome.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&amp;nbsp; &amp;nbsp; nRFxFanBoy&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selection of the custom board option is gone in vscode ncs 2.0.0</title><link>https://devzone.nordicsemi.com/thread/379745?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 14:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3792841c-5a17-4c22-8b60-fba24424bbe5</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The custom board option will only show up if you have one or more folders in board roots. Please go to settings &amp;gt; Workspace &amp;gt; Extensions &amp;gt; nRF Connect and make sure to set the path there:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:200px;max-width:500px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1000x400/__key/communityserver-discussions-components-files/4/pastedimage1659449164881v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Note that this&amp;nbsp;should be the path to the folder with the boards/ folder, so if you for example have&amp;nbsp;C:/nordic/boards/arm/my_custom_board, then the path in board roots should be C:/nordic.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>