<?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>Linker error on example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60401/linker-error-on-example-code</link><description>Hi. 
 
 I get Linker error when i compile &amp;#39;iot_secure_dfu_bootloader_secure_dfu_s132_pca10040&amp;#39; example from SDK 16.0.0. 
 The compilation passed (although i had problem with: &amp;#39;nrf52hf_armgcc&amp;#39; under &amp;#39;micro-ecc&amp;#39;, which didnt passed makefile), 
 
 Now i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Apr 2020 09:18:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60401/linker-error-on-example-code" /><item><title>RE: Linker error on example code</title><link>https://devzone.nordicsemi.com/thread/245776?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 09:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03b90d0-d891-45c6-8dad-0abf21fb34b6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The bootloader examples should only be about 24kB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the bootloader project has a .reserved_flash section that is the available flash for the application and the protocol stack.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-22fc77bdb32441b99e4989ca5ae9699f/pastedimage1587460670135v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error on example code</title><link>https://devzone.nordicsemi.com/thread/245752?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 08:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b34a2064-b900-4883-859b-f41d1aa01fbc</guid><dc:creator>Dudi</dc:creator><description>&lt;p&gt;Thanks, that solved the issues i had with micro-ecc, but...&lt;/p&gt;
&lt;p&gt;Why the bootloaders are so big and how come the example in the path below can&amp;#39;t fit to the device flash nRF5_SDK_16.0.0_98a08e2\examples\iot\bootloader\pca10040\s132\ses&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would like to create bootloader&amp;nbsp;for nRF52832 with UART DFU, where can i find example with reasonable size?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error on example code</title><link>https://devzone.nordicsemi.com/thread/245593?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 14:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fbdb39-6512-4112-833f-eee72ebcde8a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You need to download the ARM GCC toolchain, please follow the instructions under&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_crypto_backend_micro_ecc.html#lib_crypto_backend_micro_ecc_install"&gt;Install micro-ecc&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error on example code</title><link>https://devzone.nordicsemi.com/thread/245587?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 14:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d25bb253-8a83-4b03-aabf-bbe0f5cd3618</guid><dc:creator>Dudi</dc:creator><description>&lt;p&gt;About the linking error: there is no permission issue because i can compile other example from this SDK.&amp;nbsp;I tried to put the folder directly on C root in order to make short path but it does not help. It is from the SDK16.0.0.&lt;/p&gt;
&lt;p&gt;In addition, i am using SEGGER embedded studio. Where should GCC toolchain be?&lt;/p&gt;
&lt;p&gt;I tried the folder &amp;quot;C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.42\gcc\arm-none-eabi\bin&amp;quot; with no success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error on example code</title><link>https://devzone.nordicsemi.com/thread/245493?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 10:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3286a44-fceb-4bf4-98d3-c0d10795418d</guid><dc:creator>bjorn-spockeli</dc:creator><description>[quote user=""]Now i get error message of Linking, &amp;quot; can&amp;#39;t open C:/nRF52832/nRF5/examples/iot/bootloader/pca10040/s132/ses/ for reading&amp;quot;[/quote]
&lt;p&gt;Havent seen this error before, could it be a permissions thing?&lt;/p&gt;
[quote user=""]In addition, why &amp;#39;build_all.bat&amp;#39; file under micro-ecc, return error messages on all make files?[/quote]
&lt;p&gt;&amp;nbsp;You have probably not set up the correct path to the GCC toolchain in the Makefile.windows file in&amp;nbsp;components\toolchain\gcc. This is my path.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/7 2018-q2-update/bin/
GNU_VERSION := 7.3.1
GNU_PREFIX := arm-none-eabi
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>