<?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>Unable to build any sample projects with nrf9160 on Mac OS 10.15.2 - Assertion failed: The toolchain is unable to build a dummy C file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60817/unable-to-build-any-sample-projects-with-nrf9160-on-mac-os-10-15-2---assertion-failed-the-toolchain-is-unable-to-build-a-dummy-c-file</link><description>Somehow my account got deleted and so did my ticket. I had to re-register my account an i&amp;#39;m creating this ticket again: 
 nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Apr 2020 06:44:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60817/unable-to-build-any-sample-projects-with-nrf9160-on-mac-os-10-15-2---assertion-failed-the-toolchain-is-unable-to-build-a-dummy-c-file" /><item><title>RE: Unable to build any sample projects with nrf9160 on Mac OS 10.15.2 - Assertion failed: The toolchain is unable to build a dummy C file</title><link>https://devzone.nordicsemi.com/thread/247446?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 06:44:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660a433b-0f46-4a73-b715-b9469d156e29</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;From the output it looks like there is an issue with the linker search path:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;clang: error: unknown argument &amp;#39;-meabi=5&amp;#39;; did you mean &amp;#39;-mabi=5&amp;#39;?&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Had someone internally to verify that it works:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Zephyr version: 2.2.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version &amp;quot;3.7.3&amp;quot;, minimum required is &amp;quot;3.6&amp;quot;)
-- Selected BOARD nrf9160_pca10090ns
-- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.6.0&amp;quot;)
-- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
Devicetree header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h&amp;#39;
Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
/Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
/Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration &amp;#39;/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig&amp;#39;
Merged configuration &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf&amp;#39;
Configuration saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
-- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
Changed board to secure nrf9160_pca10090 (NOT NS)
=== child image spm - nrf9160_pca10090 begin ===
-- Zephyr version: 2.2.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version &amp;quot;3.7.3&amp;quot;, minimum required is &amp;quot;3.6&amp;quot;)
-- Selected BOARD nrf9160_pca10090
-- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.6.0&amp;quot;)
-- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
  also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
  also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
Devicetree header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h&amp;#39;
Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
/Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
/Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration &amp;#39;/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig&amp;#39;
Merged configuration &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf&amp;#39;
Configuration saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
-- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
=== child image spm - nrf9160_pca10090 end ===
CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
  __ASSERT() statements are globally ENABLED

Changed board to secure nrf9160_pca10090 (NOT NS)
And pm_domains are nrf9160_pca10090
Loading from nrf9160_pca10090
-- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
-- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
-- Configuring done-- Zephyr version: 2.2.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version &amp;quot;3.7.3&amp;quot;, minimum required is &amp;quot;3.6&amp;quot;)
-- Selected BOARD nrf9160_pca10090ns
-- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.6.0&amp;quot;)
-- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
Devicetree header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h&amp;#39;
Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
/Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
/Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration &amp;#39;/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig&amp;#39;
Merged configuration &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf&amp;#39;
Configuration saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
-- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
Changed board to secure nrf9160_pca10090 (NOT NS)
=== child image spm - nrf9160_pca10090 begin ===
-- Zephyr version: 2.2.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version &amp;quot;3.7.3&amp;quot;, minimum required is &amp;quot;3.6&amp;quot;)
-- Selected BOARD nrf9160_pca10090
-- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.6.0&amp;quot;)
-- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
  also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
  also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
Devicetree header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h&amp;#39;
Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
/Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
/Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration &amp;#39;/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig&amp;#39;
Merged configuration &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf&amp;#39;
Configuration saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
-- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
=== child image spm - nrf9160_pca10090 end ===
CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
  __ASSERT() statements are globally ENABLED

Changed board to secure nrf9160_pca10090 (NOT NS)
And pm_domains are nrf9160_pca10090
Loading from nrf9160_pca10090
-- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
-- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build
-- Generating done
-- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;&lt;em&gt;(Darwin Kernel Version 19.3.0&amp;nbsp;root:xnu-6153.81.5~1/RELEASE_X86_64)&lt;/em&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;[Tested with ZSH and Bash both works] OSX 10.15.3 (19D76).&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;It is most likely some user misconfiguration of the environment variables that you should look over to see if they are correct.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build any sample projects with nrf9160 on Mac OS 10.15.2 - Assertion failed: The toolchain is unable to build a dummy C file</title><link>https://devzone.nordicsemi.com/thread/247305?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 11:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8018d7-2dad-4d23-87a8-840368834553</guid><dc:creator>MarkatRova</dc:creator><description>&lt;p&gt;Yes, I have tried deleting the cache. &amp;nbsp;I have verified the NRF git is on the master and current, i have made sure my west is updated.&lt;/p&gt;
&lt;p&gt;The issue has to do with clang error&amp;nbsp;-meabi=5&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build any sample projects with nrf9160 on Mac OS 10.15.2 - Assertion failed: The toolchain is unable to build a dummy C file</title><link>https://devzone.nordicsemi.com/thread/247227?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 07:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0e08ff-9ad6-4ab4-a930-ca67c142a5c3</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Marka,&lt;br /&gt;Could you try &lt;a href="https://github.com/ExploratoryEngineering/nrf9160-telenor#clear-zephyr-toolchain-capability-cache" rel="noopener noreferrer" target="_blank"&gt;to delete the cache&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>