<?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>Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66673/broken-tool-chain---after-os-upgrade</link><description>Hi, 
 I am unable to build code. My Mac has just been updated to Catalina, not sure if that&amp;#39;s caused the issue. 
 I am trying to build the standard &amp;quot;blinky&amp;quot; code but am getting errors. 
 
 
 It looked as though something was broken, so I recreated my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 25 Oct 2020 09:39:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66673/broken-tool-chain---after-os-upgrade" /><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/276748?ContentTypeID=1</link><pubDate>Sun, 25 Oct 2020 09:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a851b5a2-55fc-4415-bc15-f2c0033ff17e</guid><dc:creator>Jan Rychter</dc:creator><description>&lt;p&gt;Replying to myself &amp;mdash;&amp;nbsp;what was missing was a &amp;quot;setenv ZEPHYR_TOOLCHAIN_VARIANT gnuarmemb&amp;quot; in my ~/.cshrc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/276741?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2020 18:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97b34a26-775f-4d28-93d1-ab2aaa0f827e</guid><dc:creator>Jan Rychter</dc:creator><description>&lt;p&gt;I had exactly the same problems as Rod did (broken toolchain manager, installed manually, same cmake error). The error seems to indicate that cmake doesn&amp;#39;t &amp;quot;know&amp;quot; about the specific toolchain being used (note the double slash in &amp;quot;ncs/zephyr/cmake/toolchain//generic.cmake&amp;quot;).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I did add&amp;nbsp;GNUARMEMB_TOOLCHAIN_PATH to my environment, but that didn&amp;#39;t change anything.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[20:22] jwr-macbook-pro:/Users/jwr/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs&amp;gt;west build -b nrf52dk_nrf52832 
-- west build: generating a build system
Including boilerplate (Zephyr base): /Users/jwr/nordic/ncs/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/jwr/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs
-- Zephyr version: 2.3.0-rc1 (/Users/jwr/nordic/ncs/zephyr)
-- Found Python3: /usr/local/bin/python3.8 (found suitable exact version &amp;quot;3.8.6&amp;quot;) found components: Interpreter 
-- Board: nrf52dk_nrf52832
-- Found west: /usr/local/bin/west (found suitable version &amp;quot;0.8.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Found dtc: /usr/local/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
CMake Error at /Users/jwr/nordic/ncs/zephyr/cmake/generic_toolchain.cmake:64 (include):
  include could not find load file:

    /Users/jwr/nordic/ncs/zephyr/cmake/toolchain//generic.cmake
Call Stack (most recent call first):
  /Users/jwr/nordic/ncs/zephyr/cmake/app/boilerplate.cmake:504 (include)
  /Users/jwr/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /Users/jwr/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- Found BOARD.dts: /Users/jwr/nordic/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
CMake Error at /Users/jwr/nordic/ncs/zephyr/cmake/dts.cmake:146 (message):
  command failed with return code: No such file or directory
Call Stack (most recent call first):
  /Users/jwr/nordic/ncs/zephyr/cmake/app/boilerplate.cmake:505 (include)
  /Users/jwr/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /Users/jwr/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -B/Users/jwr/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs/build -S/Users/jwr/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs -GNinja -DBOARD=nrf52dk_nrf52832
[20:22] jwr-macbook-pro:/Users/jwr/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs&amp;gt;
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/273018?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 14:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eedabdfd-0d27-4e2c-aad5-f784e01b689c</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I have compared my PATH on the two terminals and have updated the following&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;GNUARMEMB_TOOLCHAIN_PATH=/opt/nordic/ncs/v1.3.1/toolchain&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So, all working now!&lt;/p&gt;
&lt;p&gt;The Toolchain manager has made it a lot easier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/273005?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 13:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec241749-ed65-44ed-af50-96b2e33e173d</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I have realised that I can run this nrfprog command from another terminal, outwith the terminal within the tool. That would suggest that there is something broken in my &amp;quot;PATH&amp;quot;. Some of it works with the tool, others work from a separate terminal. I will try a consolidate these.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/273000?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 13:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d54dd4-2483-440f-b4a1-3ac358161085</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Do as explained in the &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/ncs_5f00_tutorial_5f00_1_5f00_2_5f00_0"&gt;NCS tutorial&lt;/a&gt;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;...make sure you have installed the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nRF Command Line tools&lt;/a&gt;. This includes the nrfjprog executable, which is required to program the Nordic chips.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/272979?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 12:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46c24c2-97d1-4392-b3db-edca3eb04fe4</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Sorry, I hadn&amp;#39;t noticed the Open terminal option within the tool, I tried that and managed to get it to build by running the following.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;rm -R  build
mkdir build
cd build
cmake -GNinja -DBOARD=nrf52833dk_nrf52833 -DCONF_FILE=&amp;quot;prj.conf&amp;quot;  ..
ninja&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it fails when I try and flash using&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --program zephyr.hex -f nrf52 --sectorerase -r --verify

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I get this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zsh: command not found: nrfjprog&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/272972?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 12:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b719b57-376c-4d96-88d2-bb5814dac570</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I was thinking about using this, however, I&amp;#39;m using a Mac and there is a warning at the top of the tool, &amp;quot;The MacOS support is experimental....&amp;quot;&lt;/p&gt;
&lt;p&gt;I tried the top one, &amp;quot;NRF Connect SDK&amp;quot; and this fails with an error, it&amp;#39;s trying to copy something to itself seemingly.&lt;/p&gt;
&lt;p&gt;I have selected nRF Connect SDK v1.3.1 and have selected &amp;quot;Update SDK&amp;quot; and &amp;quot;Update toolchain&amp;quot;. Again, they both complained about copying over itself; It wasn&amp;#39;t clear if it finished or bombed out.&lt;/p&gt;
&lt;p&gt;Just to check,&amp;nbsp;I rebooted and tried to compile again but am seeing the same error.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Broken Tool Chain - After OS Upgrade</title><link>https://devzone.nordicsemi.com/thread/272946?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 11:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:772a105e-b03f-4ee4-82a0-060b82982354</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you try to install NCS using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html#toolchain-manager"&gt;Toolchain Manager&lt;/a&gt;, it simplifes everything and requires only a button click. If you would rather like to install it manually, please tell me and I will look into the problems you&amp;#39;re getting.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>