<?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>NCS installation Linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125935/ncs-installation-linux</link><description>Hi, 
 I&amp;#39;ve already spent a lot of time on this issue. I develop on a Windows laptop. I need to run unit tests with Twister before committing to our repository. I can&amp;#39;t do this on Windows because native_sim is not supported. I tried to setup the ncs toolchain</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Dec 2025 14:43:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125935/ncs-installation-linux" /><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/557449?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 14:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a09a903-397f-4371-84cf-adde67840555</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was asked to have a look at this case, since Runar is currently out-of-office.&lt;/p&gt;
[quote user="Ingfu"]I somehow made it work.[/quote]
&lt;p&gt;Great!&lt;/p&gt;
[quote user="Ingfu"]However, flashing from the extension does not work with my workspace app (on windows)[/quote][quote user="Ingfu"]I still have the impression, that workspace apps are not really well integrated with the extension, although you recommend it as project configuration.[/quote]
&lt;p&gt;I have no intention to contradict you on that impression, but please note that running the extension from within WSL is not considered a target platform for us. There might be corner cases and/or unexpected behavior stemming from WSL which complicates things, and since we do not test the extension with a WSL setup this is not something we are able to monitor.&lt;/p&gt;
&lt;p&gt;Please also note that there are some caveats surrounding the use of workspaces, as well as a dual terminology in terms of VS Code workspace v.s. West workspace.For details, please see the section on &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/workspaces.html"&gt;Workspaces&lt;/a&gt; in the nRF Connect for VS Code documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/556757?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2025 07:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff71c20-5451-44d6-a5dc-bfb10aeaaf86</guid><dc:creator>Ingfu</dc:creator><description>&lt;p&gt;I somehow made it work. However, flashing from the extension does not work with my workspace app (on windows):&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last): File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 198, in _run_module_as_main File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 88, in _run_code File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Scripts\west.exe\__main__.py&amp;quot;, line 7, in &amp;lt;module&amp;gt; File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 1199, in main app.run(argv or sys.argv[1:]) File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 278, in run self.run_command(argv, early_args) File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 584, in run_command self.run_extension(args.command, argv) File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 739, in run_extension self.cmd.run(args, unknown, self.topdir, manifest=self.manifest, File &amp;quot;C:\ncs\toolchains\c1a76fddb2\opt\bin\Lib\site-packages\west\commands.py&amp;quot;, line 200, in run self.do_run(args, unknown) File &amp;quot;C:\ncs-inter\zephyr\scripts\west_commands\flash.py&amp;quot;, line 32, in do_run do_run_common(self, my_args, runner_args, domain_file=domains_file) File &amp;quot;c:\ncs-inter\zephyr\scripts/west_commands\run_common.py&amp;quot;, line 241, in do_run_common for runner in runners_ext: TypeError: &amp;#39;NoneType&amp;#39; object is not iterable&lt;/p&gt;
&lt;p&gt;I still have the impression, that workspace apps are not really well integrated with the extension, although you recommend it as project configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/556301?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 07:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449c8f15-c435-430f-8bd7-a770c005faa4</guid><dc:creator>Ingfu</dc:creator><description>&lt;p&gt;Hi, something is not working correctly with wsl and vs code nrf extension. i have a fresh Ubuntu 24.04 on WSL. I connect to remote via VS Code and install all extensions and 3.1.1 SDK and toolchain. When I create new application, it gets created but not opened. I see this error:&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;2025-12-05&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#6a9955;"&gt;08:48:19.036&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#ce9178;font-weight:bold;"&gt;[error]&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#ce9178;font-weight:bold;"&gt;Error&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;: Unable to write file &lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;#39;vscode-remote://wsl+ubuntu-24.04/home/.vscode/settings.json&amp;#39;&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; (NoPermissions (FileSystemError): &lt;/span&gt;&lt;span style="color:#ce9178;font-weight:bold;"&gt;Error&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;: EACCES: permission denied, mkdir &lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;#39;/home/.vscode&amp;#39;&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/556085?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 09:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f3981a8-4fb7-4a8b-93d1-8aa329927413</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;When you are doing this, you are pulling down the entire ncs again and this can&amp;#39;t be done inside a folder where you already have NCS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To do this I would do the following (I will use command line commands to make it easier) inside wsl:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Launching a enviroment where west is loaded, switch version to your version
nrfutil sdk-manager toolchain launch --ncs-version v3.1.1 --shell

# Navigate to where you would like to create the workspace and make a folder
mkdir folder_name
cd folder_name

west init -m https://github.com/nrfconnect/ncs-example-application --mr main my-workspace

cd my-workspace

west init&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/555999?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 12:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de58266c-d61f-44d4-adec-82119abdf94a</guid><dc:creator>Ingfu</dc:creator><description>&lt;p&gt;Hi, I didn&amp;#39;t knew this way, thank you.&lt;/p&gt;
&lt;p&gt;When I follow the guide&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/create_application.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/create_application.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and try to create a workspace application from the ncs-sample-application with&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;west init &lt;a href="https://github.com/nrfconnect/ncs-example-application"&gt;github.com/.../ncs-example-application&lt;/a&gt; my_sample&lt;/p&gt;
&lt;p&gt;it fails as&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FATAL ERROR: already initialized in /home/me/ncs/v3.1.0, aborting.&lt;br /&gt;Note:&lt;br /&gt;&amp;nbsp; &amp;nbsp; In your environment, ZEPHYR_BASE is set to:&lt;br /&gt;&amp;nbsp; &amp;nbsp; /home/me/ncs/v3.1.0/zephyr&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; This forces west to search for a workspace there.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Try unsetting ZEPHYR_BASE and re-running this command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/555991?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 12:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bcb5250-56ae-4013-8e3f-3afac5ac684a</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Where is the custom_board stored? From the error it seems like you can&amp;#39;t find the board, you can add the folder in the settings for the nrfconnect extension&amp;nbsp;&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/pastedimage1764677199947v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/555988?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 11:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f47609c-7bb5-4db3-a481-5b33378d0340</guid><dc:creator>Ingfu</dc:creator><description>&lt;p&gt;ok, i make progress following the instructions from&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html#install_prerequisites"&gt;https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, I still have issued building the ncs-example-application from&amp;nbsp;&lt;a id="" href="https://github.com/nrfconnect/ncs-example-application"&gt;https://github.com/nrfconnect/ncs-example-application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I try to build using the command &amp;quot;west build -b custom_plank app&amp;quot;, I get&lt;br /&gt;&lt;br /&gt;Loading Zephyr module(s) (Zephyr base): sysbuild_default&lt;br /&gt;-- Found Python3: /home/me/ncs/toolchains/v3.1.0/usr/local/bin/python3.12 (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter&lt;br /&gt;-- Cache files will be written to: /home/me/.cache/zephyr&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;No board named &amp;#39;custom_plank&amp;#39; found.&lt;/p&gt;
&lt;p&gt;it seems as if the install procedure is not compatible with the example application. what needs to be changed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS installation Linux</title><link>https://devzone.nordicsemi.com/thread/555987?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 11:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7051e047-05b0-4e00-8746-073c7395555a</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would say the easiest way to install NCS in WSL is to use VScode&lt;/p&gt;
&lt;p&gt;Press CTRL+Shift+o to open the following menu&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/pastedimage1764676393623v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then connect to wsl and proceed to install NCS as you would in windows by installing the correct extensions and downloading the sdk&lt;/p&gt;
&lt;p&gt;When you have done this, you can continue to develop as normally only difference is that you are using windows.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are to connect a DK after you are done with your simulated board you will need to add usb passthrouch in wsl&amp;nbsp;&lt;a href="https://learn.microsoft.com/en-us/windows/wsl/connect-usb"&gt;https://learn.microsoft.com/en-us/windows/wsl/connect-usb&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>