<?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>Configuration error with setting SOC_NRF52840=y in west standalone, works in vscode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112382/configuration-error-with-setting-soc_nrf52840-y-in-west-standalone-works-in-vscode</link><description>I can build my project fine with the vscode extension, but when I copy the `west build ...` command from vscode and run it from CLI, i get an error about how the SOC option isn&amp;#39;t directly configurable: ``` ~/my-workspace&amp;gt; west build --build-dir /home</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2024 08:57:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112382/configuration-error-with-setting-soc_nrf52840-y-in-west-standalone-works-in-vscode" /><item><title>RE: Configuration error with setting SOC_NRF52840=y in west standalone, works in vscode</title><link>https://devzone.nordicsemi.com/thread/490529?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 08:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab4a6de-03c0-4145-b2a7-fc5b4753f721</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the update. Yes, it sounds like the project may have been built against a different SDK version when built from the command line. You can run &amp;#39;west topdir&amp;#39; or &amp;#39;west list&amp;#39; to check which workspace you are in.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration error with setting SOC_NRF52840=y in west standalone, works in vscode</title><link>https://devzone.nordicsemi.com/thread/490428?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 19:28:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dd575a7-9274-443f-beb2-949e89678c10</guid><dc:creator>oasixer</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;, thanks for the reply. Turns out that the problem disappeared when i invoke west from the ncs/v2.5.3 workspace (as opposed to from the zephyr workspace i was using as per the getting started guide), so it may be related to SDK version or something.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration error with setting SOC_NRF52840=y in west standalone, works in vscode</title><link>https://devzone.nordicsemi.com/thread/490395?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 15:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b9d9f7-23c1-4c3a-9255-bab6452bcef3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s strange that you get this Kconfig error when building from the command line but not in VS Code. Normally, there should not be any difference, as VS Code is just invoking West for building. Also, this error should only be raised if &amp;#39;CONFIG_SOC_NRF52840&amp;#39; is directly assigned in one of the configuration files. Both&amp;nbsp;&lt;span&gt;CONFIG_SOC_SERIES_NRF52X and&amp;nbsp;CONFIG_SOC_NRF52840_QFAA are user configurable and will select&amp;nbsp;CONFIG_SOC_NRF52840.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Just to double-check, could you search through the project for &amp;#39;CONFIG_SOC_NRF52840&amp;#39; to see if there are any matches? Alternatively, are you able to share your project here or in a private ticket so I can try to reproduce this error on my end?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>