<?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>DFU secure bootloader doesn&amp;#39;t compile in SES (V15.2 and V17.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71119/dfu-secure-bootloader-doesn-t-compile-in-ses-v15-2-and-v17-0</link><description>Hi, 
 Thanks in advance. 
 Anybody experiencing the same problem? I&amp;#39;m trying to test the DFU functionality by compiling the example in SDK/examples/dfu/secure_bootloader/pca10040_ble/ses/ , but I got errors like this every time: 
 
 
 
 and the source</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Feb 2021 11:25:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71119/dfu-secure-bootloader-doesn-t-compile-in-ses-v15-2-and-v17-0" /><item><title>RE: DFU secure bootloader doesn't compile in SES (V15.2 and V17.0)</title><link>https://devzone.nordicsemi.com/thread/293308?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 11:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d314c356-b884-4b53-9efb-6629f1dfe5b0</guid><dc:creator>Edvin</dc:creator><description>[quote user="jj8431"]I tried to run make but received the following errors:[/quote]
&lt;p&gt;&amp;nbsp;This suggests that this probably also happened when you ran the script, which is why the micro_ecc_lib_nrf52.a is not generated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have arm-none-eabi-gcc installed? If so, what version? You can have several versions. Whenever I download a new SDK, I always also download the correct arm-none-eabi-gcc version that corresponds to that SDK version. As you see, it is looking for the 7-2018-q2-update version, which you can find &lt;a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads"&gt;here&lt;/a&gt;. (all versions for Windows, Mac and Linux. Please download the version that you are missing, and put it in the same folder as you have your current version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My versions are located here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1612783519044v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU secure bootloader doesn't compile in SES (V15.2 and V17.0)</title><link>https://devzone.nordicsemi.com/thread/293231?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 01:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ae674e-dadb-43cf-b045-ffdc8beb67bd</guid><dc:creator>jj8431</dc:creator><description>&lt;p&gt;Thank you Edvin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry for not responding earlier. Thank you for the help. I&amp;#39;m still having some problems, here is what I get:&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Linux Mint with SES 5.32,&amp;nbsp; the SDK is V17.02 as suggested. In ./external/micro-ecc/ folder, the build_all.sh script didn&amp;#39;t run, then I figured it out as the file has DOS line returns and after converting it to Linux format the script can run and I can get the needed files downloaded.&lt;/p&gt;
&lt;p&gt;But I found it still reporting the uECC.h file missing, turns out the include file path settings for it &amp;quot;../../../../../external/micro-ecc/micro-ecc&amp;quot; is not correct. After changing the path to the file&amp;#39;s absolute address the &amp;quot;uECC.h file not found&amp;quot; error is gone, but then comes a new one:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Linking secure_bootloader_ble_s132_pca10040_debug.elf
cannot find ../../../../../external/micro-ecc/nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a: No such file or directory&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In that folder, I can only find 2 files: Makefile and ext_micro_ecc_gcc_nRF5x.ld&lt;/p&gt;
&lt;p&gt;I tried to run make but received the following errors:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;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/jianjiao/tmp/nRF5_SDK_17.0.2_d674dde/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;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please advice how could I fix this problem ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Jian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU secure bootloader doesn't compile in SES (V15.2 and V17.0)</title><link>https://devzone.nordicsemi.com/thread/292257?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 13:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e7a027-4dde-4c20-afec-3b0eb49bae26</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Please run the file:&lt;/p&gt;
&lt;p&gt;SDK17.0.0\external\micro-ecc\build_all.bat (Just double click it). It requires you to have &amp;quot;make&amp;quot; installed on your computer).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;While we&amp;#39;re at it, if you are using SDK17.0.0, I recommend that you switch to SDK17.0.2, since it is API compatible, and contains some bugfixes. If you have started some projects, just copy them over to the new SDK17.0.2.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>