<?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>How do I only use one processor core/thread when building?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127457/how-do-i-only-use-one-processor-core-thread-when-building</link><description>Not sure if this is an nRF Connect or VS Code or Zephyr or West or some combination of the above, but I&amp;#39;d like to configure the development environment (nRF Connect extension in VS Code) to only use a single processor core on the PC when building. NOTE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Mar 2026 14:45:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127457/how-do-i-only-use-one-processor-core-thread-when-building" /><item><title>RE: How do I only use one processor core/thread when building?</title><link>https://devzone.nordicsemi.com/thread/563356?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 14:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bda7f21-7c81-4c42-ad65-880f5874fc46</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Will,&lt;/p&gt;
[quote user=""]I&amp;#39;d like to configure the development environment (nRF Connect extension in VS Code) to only use a single processor core on the PC when building.&amp;nbsp; [/quote]
&lt;p&gt;&lt;span&gt;The build system uses&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;ninja&lt;/code&gt;&lt;span&gt;&amp;nbsp;under the hood, which by default uses&amp;nbsp;&lt;/span&gt;&lt;strong&gt;all available CPU cores&lt;/strong&gt;&lt;span&gt;. You can control this with the&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;-j&lt;/code&gt;&lt;span&gt;&amp;nbsp;option via&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;west build.&amp;nbsp;&lt;/code&gt;See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/build-flash-debug.html#build_parallelism"&gt;Build parallelism&lt;/a&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;[quote user=""]I tried the AI suggestion of adding &amp;quot;-o=-j1&amp;quot; as an extra CMake argument in the build configuration but it appears to not do anything (hallucination? ignored?)[/quote]&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;You can try to use &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/reference/ui_panel.html#nrf-connect-and-nrf-terminal-profiles"&gt;nRF Connect terminal&lt;/a&gt;&amp;nbsp;to build with the command.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[quote user=""]is there any way to automatically have the build &amp;quot;log&amp;quot; stream to a file so I don&amp;#39;t have to manually cut and paste from the terminal window every time?&amp;nbsp;[/quote]&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Check out this post:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109658/in-nrf-connect-for-vscode-how-to-store-the-project-build-log-in-a-file"&gt;In nrf connect for vscode, how to store the project build log in a file&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>