<?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>micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29504/micro-ecc-compilation-error</link><description>I have uploaded the Image with Keil &amp;#181;Vision compilation errors, included Files in main.c and on the left side the compilation of micro_ecc_lib_nrf52.lib file using &amp;quot; build_all.bat &amp;quot; bash script file and mingw32-make. 
 Regarding the Nordic Info Center</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jan 2018 12:22:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29504/micro-ecc-compilation-error" /><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117283?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 12:22:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24c6dde-0279-46d5-938c-e62e8e431248</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;Thankyou so much, it Worked! But strangely only when I include &amp;quot;ecc.c&amp;quot; into the project. If I don&amp;#39;t include the &amp;quot;ecc.c&amp;quot; then the error remains the same even after the ECC_ENABLED bit is set in the sdk_config.h file. Anyways, I can now compile without errors and I am very greatful for your timely suggestions. Thankyou once again.&lt;/p&gt;
&lt;p&gt;Regards,
Kumar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117286?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 14:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ecaf0f2-a0e7-4f31-bb35-4e3afd75d22d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/group__ecc__config.html#ga65e9794e14c81aee3f907481eb693b31"&gt;enabled the ECC library&lt;/a&gt; in your sdk_config.h file?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// &amp;lt;q&amp;gt; ECC_ENABLED  - ecc - Elliptic Curve Cryptography Library
 
#ifndef ECC_ENABLED
#define ECC_ENABLED 1
#endif
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117282?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 07:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cfbc317-478e-4bae-8816-d205da3896b7</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;I have edited my original post and uploaded the image and link. Please have a look and hope you could help me out! Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117285?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 20:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7d5371-49e4-4d82-b57e-e8910b0fae34</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you post a link to the infocenter where you have read that? You can upload an image by editing your original question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117284?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 16:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b59849eb-5524-422f-99b5-f6f7d9403889</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;Hello Sir, Thankyou for your quick response. I have followed the steps you have stated in your response and compiled the project in keil v5.05. But, I still get the same errors even after including the compiled (using build_all.bat) library file. By the way, I have been using Nordic nRF5_SDK_v13.0.0_04a0bfd software version and I have also read in the Nordic info center that the v13.0.0 version has been missing some files related to cryptography or so. I request you to please help me at this point. I would also like to upload an image of the errors but I think I cannot in this comment section.&lt;/p&gt;
&lt;p&gt;Thanks and regards,
Kumar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: micro-ecc compilation error</title><link>https://devzone.nordicsemi.com/thread/117281?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 13:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77649c54-d129-4335-a1c0-30aae35f103a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to add the compiled library to your project in addition to the header files (the source files of micro-ecc should &lt;strong&gt;not&lt;/strong&gt; be added).&lt;/p&gt;
&lt;p&gt;The library needs to be compiled using the scripts build_all.bat/.sh, found in external/micro-ecc directory, or as described on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_crypto.html?cp=4_0_0_3_11_2_0#lib_crypto_installing"&gt;this page&lt;/a&gt;, and you need to include the correct library depending on your hardware. This is the paths for SDK v14.2.0.&lt;/p&gt;
&lt;p&gt;nRF51 series:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;external\micro-ecc\nrf51_keil\armgcc\micro_ecc_lib_nrf51.lib
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nRF52832/nRF52840:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;external\micro-ecc\nrf52hf_keil\armgcc\micro_ecc_lib_nrf52.lib
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nRF52810:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;external\micro-ecc\nrf52nf_keil\armgcc\micro_ecc_lib_nrf52.lib
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>