<?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>Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84209/failed-to-compile-non-secure-boards</link><description>This is a follow-up to a previous ticket https://devzone.nordicsemi.com/f/nordic-q-a/83842/error-when-building-configuration-for-non-secure-boards , the problem persists and I think is due to a failed multi image build. I attempted to build a new project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Feb 2022 16:54:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84209/failed-to-compile-non-secure-boards" /><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/351624?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 16:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f810f52-5c16-4ea2-a0fd-600b5a370020</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Snaider,&lt;/p&gt;
[quote user="SnaiderBG"]It appears in the problems window[/quote]
&lt;p lang="en-GB"&gt;the Problems window is independent from the build, as they refer to internal VS Code settings. If your build runs through successfully, preferably without any warnings, everything should be fine :-)&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/351451?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 07:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26cd39c9-17e0-47fa-9aa8-2a5a5213f2ad</guid><dc:creator>SnaiderBG</dc:creator><description>&lt;p&gt;It appears in the problems window&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644217230615v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/351042?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 09:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e46e0ada-c80c-4a62-b1eb-ceab756e4549</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>[quote user="SnaiderBG"]I reinstalled everything (have done in already) but didn&amp;#39;t work, later I found this post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82145/severe-crashing-bug-in-nrf-connect-for-vs-code-on-macos-monterey/349370#349370"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/82145/severe-crashing-bug-in-nrf-connect-for-vs-code-on-macos-monterey/349370#349370&lt;/a&gt;&amp;nbsp;and decide to downgrade VSCode, it didn&amp;#39;t help either until I updated Python to 3.10.2, previously working with 3.9.6. I don&amp;#39;t know if updating Python was the solution or the mix of both actions but now I can build non secure boards. [/quote]
&lt;p lang="en-GB"&gt;Thanks for the feedback, Snaider! I’m glad to hear that you are able to build now.&lt;/p&gt;
[quote user="SnaiderBG"]However&amp;nbsp;this error appears in any build for nrf9160dk_nr9160_ns[/quote]
&lt;p lang="en-GB"&gt;To me, this doesn’t look like a typical build error. In which terminal window in VS Code does this message appear?&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350978?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 00:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5fd63a9-1705-474b-bfff-5ef8eb74465f</guid><dc:creator>SnaiderBG</dc:creator><description>&lt;p&gt;Hi Markus I reinstalled everything (have done in already) but didn&amp;#39;t work, later I found this post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82145/severe-crashing-bug-in-nrf-connect-for-vs-code-on-macos-monterey/349370#349370"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/82145/severe-crashing-bug-in-nrf-connect-for-vs-code-on-macos-monterey/349370#349370&lt;/a&gt;&amp;nbsp;and decide to downgrade VSCode, it didn&amp;#39;t help either until I updated Python to 3.10.2, previously working with 3.9.6. I don&amp;#39;t know if updating Python was the solution or the mix of both actions but now I can build non secure boards. However&amp;nbsp;this error appears in any build for nrf9160dk_nr9160_ns&lt;br /&gt;&lt;br /&gt;[{&lt;br /&gt; "resource": "/opt/nordic/ncs/v1.8.0/zephyr/boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig",&lt;br /&gt; "owner": "kconfig0",&lt;br /&gt; "severity": 8,&lt;br /&gt; "message": "boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:36: error: couldn't parse 'default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))': macro expanded to blank string",&lt;br /&gt; "startLineNumber": 36,&lt;br /&gt; "startColumn": 1,&lt;br /&gt; "endLineNumber": 36,&lt;br /&gt; "endColumn": 100000&lt;br /&gt;}]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This error doesn&amp;#39;t break the build&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350794?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 09:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02239c8-1ff3-406b-94db-32420ca4852d</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks a lot for the input, Snaider!&lt;/p&gt;
[quote user="SnaiderBG"]Any idea why this error appears only when using the VSCode plugin? Can I change the settings of VSCode to run the simple command? or is your recommendation to build from the command line?&amp;nbsp;[/quote]
&lt;p lang="en-GB"&gt;First of all, the nRF Connect Extension in VS Code is depended on a correct configured nRF Connect SDK toolchain. However, it uses slightly modified build commands to access it from within VS Code.&lt;/p&gt;
&lt;p lang="en-GB"&gt;It is a good starting point that you can build the application via the command line. But of course, you should be able to do so in VS Code as well. The point with the extension is to make both programming and building as smooth as possible :-)&lt;/p&gt;
&lt;p lang="en-GB"&gt;My recommendation now would be that you go through the points described in this &lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;tutorial&lt;/a&gt; and check if&amp;nbsp;your nRF Connect Extension is set-up correctly. Please let me know if that doesn’t solve the issue.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350740?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 16:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:741c7ad8-6185-43e9-9e05-13357bfe0c13</guid><dc:creator>SnaiderBG</dc:creator><description>&lt;p&gt;Hi again, I use that command since it is the command executed by the VSCode plugin. Building the sample with the above command succeeded&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: generating a build system
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.8.0/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world
-- Using NCS Toolchain 1.8.0 for building. (/opt/nordic/ncs/v1.8.0/toolchain/cmake)
-- Zephyr version: 2.7.0 (/opt/nordic/ncs/v1.8.0/zephyr), build: v2.7.0-ncs1
-- Found Python3: /opt/nordic/ncs/v1.8.0/toolchain/bin/python3 (found suitable exact version &amp;quot;3.9.6&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.12.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
-- Cache files will be written to: /Users/mac/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.8.0/toolchain/bin/dtc (found suitable version &amp;quot;1.6.1&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/v1.8.0/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/v1.8.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
nrf9160dk_nrf9160_ns.dts.pre.tmp:367.32-371.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property
-- Generated zephyr.dts: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/dts.cmake
Parsing /opt/nordic/ncs/v1.8.0/zephyr/Kconfig
Loaded configuration &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/prj.conf&amp;#39;
Configuration saved to &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/v1.8.0/toolchain/bin/arm-none-eabi-gcc
Changed board to secure nrf9160dk_nrf9160 (NOT NS)

=== child image spm -  begin ===
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.8.0/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/v1.8.0/nrf/samples/spm
-- Using NCS Toolchain 1.8.0 for building. (/opt/nordic/ncs/v1.8.0/toolchain/cmake)
-- Zephyr version: 2.7.0 (/opt/nordic/ncs/v1.8.0/zephyr), build: v2.7.0-ncs1
-- Found Python3: /opt/nordic/ncs/v1.8.0/toolchain/bin/python3 (found suitable exact version &amp;quot;3.9.6&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.12.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf9160dk_nrf9160, Revision: 0.7.0
-- Cache files will be written to: /Users/mac/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.8.0/toolchain/bin/dtc (found suitable version &amp;quot;1.6.1&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/v1.8.0/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/v1.8.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
-- Found devicetree overlay: /opt/nordic/ncs/v1.8.0/nrf/samples/spm/nrf9160dk_nrf9160.overlay
-- Generated zephyr.dts: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/dts.cmake
Parsing /opt/nordic/ncs/v1.8.0/zephyr/Kconfig
Loaded configuration &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v1.8.0/nrf/samples/spm/prj.conf&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v1.8.0/nrf/samples/spm/boards/nrf9160dk_nrf9160.conf&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v1.8.0/nrf/subsys/partition_manager/partition_manager_enabled.conf&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;
Configuration saved to &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/v1.8.0/toolchain/bin/arm-none-eabi-gcc
CMake Warning at /opt/nordic/ncs/v1.8.0/zephyr/CMakeLists.txt:1662 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/spm
=== child image spm -  end ===

Dropping partition &amp;#39;nrf_modem_lib_trace&amp;#39; since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.8.0/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns
-- west build: building application
[1/176] Preparing syscall dependency handling

[7/176] Performing build step for &amp;#39;spm_subimage&amp;#39;
[1/220] Preparing syscall dependency handling

[54/220] Generating include/generated/...r.h, include/generated/otype-to-size.h
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[55/220] Generating include/generated/driver-validation.h
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[213/220] Linking C executable zephyr/zephyr_prebuilt.elf

[216/220] Generating dev_handles.c
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_handles.py:46: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[220/220] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:         64 KB        64 KB    100.00%
            SRAM:       11832 B        64 KB     18.05%
        IDT_LIST:          0 GB         2 KB      0.00%
[10/176] Generating include/generated/driver-validation.h
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[11/176] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[168/176] Linking C executable zephyr/zephyr_prebuilt.elf

[171/176] Generating dev_handles.c
/opt/nordic/ncs/v1.8.0/zephyr/scripts/gen_handles.py:46: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) &amp;lt; LooseVersion(&amp;#39;0.24&amp;#39;):
[175/176] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       27672 B       960 KB      2.81%
            SRAM:        6440 B     178968 B      3.60%
        IDT_LIST:          0 GB         2 KB      0.00%
[176/176] Generating zephyr/merged.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any idea why this error appears only when using the VSCode plugin? Can I change the settings of VSCode to run the simple command? or is your recommendation to build from the command line?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350563?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 07:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d92e282-7c12-4020-afd3-2696f61a6eb3</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Snaider,&lt;/p&gt;
[quote user="SnaiderBG"]&lt;em&gt;west build --build-dir /Users/mac/NordicNew/blinky1/build /Users/mac/NordicNew/blinky1 --pristine --board nrf9160dk_nrf9160_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot;&lt;/em&gt;&lt;span&gt;:&lt;/span&gt;[/quote]
&lt;p lang="en-GB"&gt;I’m honestly a little bit unsure why you are using the above mentioned build commands. It should be enough to run the following (example, which builds the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/samples/hello_world/README.html#hello-world"&gt;Hello World&lt;/a&gt; sample within the NCS from the HOME directory to a build directory called &amp;quot;build_nrf9160dk_nrf9160_ns&amp;quot;):&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;~$ west build -b nrf9160dk_nrf9160_ns ncs/zephyr/samples/hello_world/ -d ncs/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns -p&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Could you try this and share the application build log?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Thanks &amp;amp; regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350459?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 14:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89047dd4-1b40-4b6d-b17e-5134df0af5e6</guid><dc:creator>SnaiderBG</dc:creator><description>&lt;p&gt;Hi, testing during&amp;nbsp;the weekend using&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;west build --build-dir /Users/mac/NordicNew/blinky1/build /Users/mac/NordicNew/blinky1 --pristine --board nrf9160dk_nrf9160_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot;&lt;/em&gt;&lt;span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;didn&amp;#39;t work, however changing the DNCS_TOOLCHAIN_VERSION to 1.8.0 allowed me to build&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;west build --build-dir /Users/mac/Documents/pruebasNord/blinky/build /Users/mac/Documents/pruebasNord/blinky --pristine --board nrf9160dk_nrf9160_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=1.8.0&lt;br /&gt;&lt;br /&gt;After using this command I was able to build from VSCode but any pristine build will have the same error &amp;quot;spm failed&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to compile non secure boards</title><link>https://devzone.nordicsemi.com/thread/350404?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 11:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5976f1f5-845e-42cc-b502-e558932b34d0</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Snaider,&lt;/p&gt;
&lt;p lang="en-GB"&gt;does the build fail in VS Code only or do you get the same error on the command line as well?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>