<?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 library won&amp;#39;t compile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29090/micro-ecc-library-won-t-compile</link><description>Hi, 
 I&amp;#39;m trying to get BLE pairing example to work. I downloaded the missing micro-ecc library and I encountered this problem: github.com/.../70 
 So I&amp;#39;ve compiled this library with Bash on Ubuntu on Windows and I got .o and .d files. But what to do</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jan 2018 15:34:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29090/micro-ecc-library-won-t-compile" /><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115409?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 15:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09bc5f4d-c037-4a21-bb94-6eacada873e0</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;Unfortunately, even I am not able to compile the &amp;quot;ecc.h&amp;quot; without errors. As described in this post, I have included the precompiled library of micro-ecc and just included the header file in main.c.  I get the same errors even after including the library file. And I have also seen that the .c files are not added to the project. I am stuck with this point and unable to come out of this problem. At this stage it seems like I have to port the whole project into eclipse or so. But I would like to use Keil Compiler instead of GCC compiler for the Project. Any Suggestions would be of great help!&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 library won't compile</title><link>https://devzone.nordicsemi.com/thread/115407?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 08:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a347b926-56eb-4886-bbce-d011a6673437</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The softdevice is not compiled, it is delivered as precompiled hex file. You can find it in &lt;code&gt;[SDK_ROOT]\components\softdevice\s132\hex&lt;/code&gt;. It can also be downloaded from our &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF52832/S132-SD-v4/58803"&gt;webpage&lt;/a&gt; (see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/compatibility_matrix/ic_rev_sdk_sd_comp_matrix.html?cp=2_1_3_2"&gt;compatibility matrix&lt;/a&gt; for supported softdevice versions for SDKs).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115406?ContentTypeID=1</link><pubDate>Sun, 24 Sep 2017 21:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a72276-8303-4d51-8dac-cad07da1b175</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;I finally managed to achieve something. After hours and hours spent experimenting and manually adding/importing tons of libraries, errors have dissapeared but then I faced up with image exceding maximum allowed 32KB (free uVision). I managed to exclude the whole ECC library (I won&amp;#39;t need it for now) and then it has been built successfully. But for some reason, the SoftDevice .hex file has not been created. I can&amp;#39;t find it in &lt;strong&gt;RTE/_nrf52832_xxaa&lt;/strong&gt; nor in &lt;strong&gt;RTE/Device/nRF52832_xxAA&lt;/strong&gt;. Application&amp;#39;s .hex is being created successfully, inside &lt;strong&gt;_build&lt;/strong&gt; folder. What may be the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115405?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 10:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f87d29fc-a604-47a9-8b00-277d5e8d3744</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You should not include the c-files of micro-ecc, only header files and the precompiled library.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115403?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 09:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e18f5f-ab6f-469d-bc8c-2f0f37460056</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;But should I include .c and .h in the project, if I compiled it outside of Keil and added .lib?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115402?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 09:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e7f943-e92f-45e9-b342-82ca5b1594c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The &amp;quot;Undefined symbol&amp;quot; errors are either due to .c source files not being included in the project, or the modules not being enabled in &lt;em&gt;sdk_config.h&lt;/em&gt;. The missing uECC.h error indicates that micro-ecc source is not located in the correct location (or you have removed the include path from the project settings). Make sure you have uECC.h, and the rest of the micro-ecc repository in the path &lt;code&gt;nRF5_SDK_13.0.0_04a0bfd\external\micro-ecc\micro-ecc&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115404?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 17:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c78ea307-1aa3-49cd-b28e-28490008bdac</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;nRF5 SDK v13.0.0
Release Date: Week 11, 2017&lt;/p&gt;
&lt;p&gt;Keil uVision V5.24.2.0&lt;/p&gt;
&lt;p&gt;Compiler: V5.06 update 5 (build 528)&lt;/p&gt;
&lt;p&gt;Toolchain: MDK-Lite Version 5.24.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115401?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 06:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42721cd6-b787-4d78-ac41-851ad22ee4ef</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you have renamed the SDK directory. the SDK version should be reflected in the top of the file &lt;em&gt;release_notes.txt&lt;/em&gt;, found in documentation directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115400?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 21:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5a3a523-7c19-4876-888b-4218bd5b2e86</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;How to see which version of SDK it is? I downloaded it somewhere in March this year, from the official website. I&amp;#39;m using Keil uVision to write code, compile it and transfer files to nRF52 board, but I&amp;#39;ve compiled micro-ecc via Bash on Ubuntu on Windows, using gcc arm eabi and make. I&amp;#39;m trying to port &amp;quot;experimental_ble_app_hrs_nfc_pairing&amp;quot; example into clean &amp;quot;ble_app_uart&amp;quot; example. I have a code based on &amp;quot;ble_app_uart&amp;quot; on which I need to add pairing functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115398?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 09:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ec9165d-af71-450b-ae48-1e46d8542085</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which SDK version are you using, and what example are you testing this on? Are you using Keil or GCC compiler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115397?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 20:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70735a33-c3fe-4cc3-ba0b-0fc275e3209f</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;Can you, please, give me step-by-step instructions? I just can&amp;#39;t get it to work. I deleted the .c file I&amp;#39;ve added, and I removed path to the folder containing the .c file in project options, and then I&amp;#39;ve added this .lib file by clicking right click on Application -&amp;gt; Add existing file. But it won&amp;#39;t recognize it, I&amp;#39;m getting this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ecc_init (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ecc_p256_keypair_gen (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ecc_p256_shared_secret_compute (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_emulation_start (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_emulation_stop (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_payload_set (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_setup (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_rng_bytes_available (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_rng_init (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_rng_rand (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_lesc_public_key_set (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_sec_params_set (referred from nfc_ble_pair_lib.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ac_rec_payload_constructor (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ac_rec_type_field (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ep_oob_rec_declare (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_hs_rec_local_record_add (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_hs_rec_local_record_clear (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_hs_rec_payload_constructor (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_hs_rec_type_field (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_le_oob_rec_declare (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ndef_msg_clear (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ndef_msg_encode (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_ndef_msg_record_add (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_tk_value_payload_encode (referred from nfc_ble_pair_msg.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_rng_on_sd_disable (referred from softdevice_handler.o).
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also I&amp;#39;ve tried to add this .lib file to the original &amp;quot;experimental_ble_app_hrs_nfc_pairing&amp;quot; example but I&amp;#39;m getting this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;..\..\..\..\..\..\components\libraries\ecc\ecc.c(55): error:  #5: cannot open source input file &amp;quot;uECC.h&amp;quot;: No such file or directory
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115408?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 07:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e59fa32-bce6-44a7-b2b0-0b3581766eb3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you added the .c files to Keil? You should not do that, you should use the .lib file found in &lt;code&gt;external\micro-ecc\nrf5x_keil\armgcc&lt;/code&gt; folder. If you have compiled the micro-ecc library, the unmodified example project in the SDK should compile. If you are having trouble, try with a fresh copy of the SDK, to make sure you did not change anything in the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115399?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2017 21:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c3989d9-1948-4cce-b116-c469adc3e46e</guid><dc:creator>XploD</dc:creator><description>&lt;p&gt;Yes I did. But I don&amp;#39;t know what to do next, uVision is still trying to compile the C file itself. How do I tell it to use already compiled .o and .d files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Micro-ecc library won't compile</title><link>https://devzone.nordicsemi.com/thread/115396?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 08:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f715f8c5-0bb0-4cd1-8f4b-d55fee6f9111</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you download and compile micro-ecc according to the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/lib_crypto.html#lib_crypto_installing"&gt;instructions in the SDK documentation&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>