<?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>thing52 SDK compiling with GCC in Ubuntu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70079/thing52-sdk-compiling-with-gcc-in-ubuntu</link><description>I am trying to compile firmware with GCC in ubuntu. The GNU directory is in C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3. I changed Makefile.posix to m ake sure that the GNU_INSTALL_ROOT variable points to my GNU Tools for ARM Embedded Processors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2021 09:48:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70079/thing52-sdk-compiling-with-gcc-in-ubuntu" /><item><title>RE: thing52 SDK compiling with GCC in Ubuntu</title><link>https://devzone.nordicsemi.com/thread/287885?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 09:48:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcddbe8-d0f7-4e4b-9df4-a6b01f6d6910</guid><dc:creator>ephimee</dc:creator><description>&lt;p&gt;I have the same error message and solved it.&lt;/p&gt;
&lt;p&gt;My error message:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;user@linux7:/sdk/external/micro-ecc/nrf52hf_keil/armgcc$ make
make: /usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc: Command not found
Cannot find: &amp;#39;/usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc&amp;#39;.
Please set values in: &amp;quot;/home/user/Downloads/software/nRF5_SDK/nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc/Makefile.posix&amp;quot;
according to the actual configuration of your system.
../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue. Stop.&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Make a backup:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;cp -p /home/user/Downloads/software/nRF5_SDK/nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc/Makefile.posix /home/user/Downloads/software/nRF5_SDK/nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc/Makefile.posix.backup&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Take a look at the file:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;cat /home/user/Downloads/software/nRF5_SDK/nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc/Makefile.posix
GNU_INSTALL_ROOT ?= /usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin/
GNU_VERSION ?= 7.3.1
GNU_PREFIX ?= arm-none-eabi&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Checked the version (thanks Jared):&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Checked location of executable:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;which arm-none-eabi-gcc
/usr/bin/arm-none-eabi-gcc&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Update Makefile.posix:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;cat /home/user/Downloads/software/nRF5_SDK/nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc/Makefile.posix
GNU_INSTALL_ROOT ?= /usr/bin/
GNU_VERSION ?= 6.3.1
GNU_PREFIX ?= arm-none-eabi&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Make:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;user@linux7:/sdk/external/micro-ecc/nrf52nf_armgcc/armgcc$ make
mkdir _build
cd _build &amp;amp;&amp;amp; mkdir micro_ecc_lib
Compiling file: uECC.c
Creating library: ../../nrf52nf_armgcc/armgcc/micro_ecc_lib_nrf52.a
/usr/bin/arm-none-eabi-ar: creating ../../nrf52nf_armgcc/armgcc/micro_ecc_lib_nrf52.a
Done
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thing52 SDK compiling with GCC in Ubuntu</title><link>https://devzone.nordicsemi.com/thread/287709?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 12:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70ff02b6-e294-4064-bef1-cd3d74e05ace</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you type the following and verify that the path to the GNU ARM toolchain is set correctly:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;arm-none-eabi-gcc --version
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It will return the version of the compiler if the executable is found.&lt;/p&gt;
&lt;p&gt;Could you also try to remove any whitespaces from your path and replace it with for example an underscore? Nordic Thingy52\.. -&amp;gt; Nordic_Thingy52\..&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thing52 SDK compiling with GCC in Ubuntu</title><link>https://devzone.nordicsemi.com/thread/287495?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 12:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9fb1ec3-0ccf-4fd1-855f-3959f483c7d0</guid><dc:creator>Frankie211</dc:creator><description>&lt;p&gt;log1:&lt;/p&gt;
&lt;p&gt;frankie@Lenovo-Frankie:/mnt/d/Nordic Thingy52/thingysdkv210$ ./setup_sdk.sh&lt;/p&gt;
&lt;p&gt;micro-ecc not found! Let&amp;#39;s pull it from HEAD.&lt;br /&gt;Cloning into &amp;#39;external/sdk13/external/micro-ecc/micro-ecc&amp;#39;...&lt;br /&gt;remote: Enumerating objects: 48, done.&lt;br /&gt;remote: Counting objects: 100% (48/48), done.&lt;br /&gt;remote: Compressing objects: 100% (37/37), done.&lt;br /&gt;remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095&lt;br /&gt;Receiving objects: 100% (1143/1143), 687.07 KiB | 1010.00 KiB/s, done.&lt;br /&gt;Resolving deltas: 100% (664/664), done.&lt;br /&gt;/mnt/d/Nordic Thingy52/thingysdkv210/external/sdk13/external/micro-ecc/nrf52_armgcc/armgcc /mnt/d/Nordic Thingy52/thingysdkv210&lt;br /&gt;/bin/sh: 1: /usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: not found&lt;br /&gt;Cannot find: &amp;quot;/usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc&amp;quot;.&lt;br /&gt;Please set values in: &amp;quot;/mnt/d/Nordic Thingy52/thingysdkv210/external/sdk13/components/toolchain/gcc/Makefile.posix&amp;quot;&lt;br /&gt;according to the actual configuration of your system.&lt;br /&gt;../../../../components/toolchain/gcc/Makefile.common:25: *** Cannot continue. Stop.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;log2:&lt;/p&gt;
&lt;p&gt;franklie@Lenovo-Frankie:/mnt/d/Nordic Thingy52/thingysdkv210$ ./setup_sdk.sh&lt;br /&gt;/mnt/d/Nordic Thingy52/thingysdkv210/external/sdk13/external/micro-ecc/nrf52_armgcc/armgcc /mnt/d/Nordic Thingy52/thingysdkv210&lt;br /&gt;mkdir _build&lt;br /&gt;Compiling file: uECC.c&lt;br /&gt;Creating library: ../../nrf52_armgcc/armgcc/micro_ecc_lib_nrf52.a&lt;br /&gt;/usr/bin/arm-none-eabi-ar: creating ../../nrf52_armgcc/armgcc/micro_ecc_lib_nrf52.a&lt;br /&gt;Done&lt;br /&gt;/mnt/d/Nordic Thingy52/thingysdkv210&lt;br /&gt;/mnt/d/Nordic Thingy52/thingysdkv210/external/sdk13/external/micro-ecc/nrf52_keil/armgcc /mnt/d/Nordic Thingy52/thingysdkv210&lt;br /&gt;mkdir _build&lt;br /&gt;Compiling file: uECC.c&lt;br /&gt;Creating library: ../../nrf52_keil/armgcc/micro_ecc_lib_nrf52.lib&lt;br /&gt;/usr/bin/arm-none-eabi-ar: creating ../../nrf52_keil/armgcc/micro_ecc_lib_nrf52.lib&lt;br /&gt;Done&lt;br /&gt;/mnt/d/Nordic Thingy52/thingysdkv210&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;log3:&lt;/p&gt;
&lt;p&gt;frankie@Lenovo-Frankie:/mnt/d/Nordic Thingy52/thingysdkv210/project/pca20020_s132/armgcc$ make -j&lt;br /&gt;rm -rf _build&lt;br /&gt;echo Makefile&lt;br /&gt;Makefile&lt;br /&gt;make: *** No rule to make target &amp;#39;_build/Nordic&amp;#39;, needed by &amp;#39;nrf52832_xxaa_s132&amp;#39;. Stop.&lt;br /&gt;make: *** Waiting for unfinished jobs....&lt;br /&gt;mkdir _build&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thing52 SDK compiling with GCC in Ubuntu</title><link>https://devzone.nordicsemi.com/thread/287441?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 09:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f68035-282b-4337-9a0e-aa9cb1fdc237</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you run the &lt;span&gt;setup_sdk.sh file in the repo?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>