<?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 - BLE advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59933/linker-error---ble-advertising</link><description>I am trying to test a simple non-connectable BLE adverstising. I am using the following resources. 
 1. SDK - 16.0 
 2. SD - S132 
 3. Board - NRF52 Development kit. 
 4. Segger embedded studio. 
 I am getting the following linker error. 
 Linking ble_adv</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Apr 2020 09:00:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59933/linker-error---ble-advertising" /><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/244635?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 09:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ccfd6dc-65a7-44ac-97c3-f6bbb42acbfc</guid><dc:creator>Niranjan Pandian</dc:creator><description>&lt;p&gt;Thank you. I took your advice and have been trying with ble_app_template. It take quite a bit of time to understand the SDK and implement.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/244007?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 08:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fbf42ac-ea7e-438d-b8f3-831f359f7b4c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;There is the&amp;nbsp;&lt;a title="Getting Started" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf51_getting_started.html?cp=7_1_1"&gt;Getting Started&lt;/a&gt;&amp;nbsp;section in the SDK documentation, but this does not describe much about projects. I would highly recommend starting out with one of the existing SDK example projects (for instance the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_template.html"&gt;BLE Template application&lt;/a&gt; project if you are creating a BLE peripheral application) and add/remove the modules you require/don&amp;#39;t need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/243967?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 04:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e6cd8f5-d1bd-4edf-8f48-025bd256a648</guid><dc:creator>Niranjan Pandian</dc:creator><description>&lt;p&gt;Okay. Thank you. Its so confusing to set up the SDK in so many ways.&amp;nbsp;I am hoping to clear the confusions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any document pertaining to set up the SDK?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/243929?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 15:15:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd1b6ee0-2ad2-401f-9c00-937b52c15888</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You are making it very hard for yourself when you do not use the example projects from the SDK as a starting point.&lt;/p&gt;
&lt;p&gt;We are not using&amp;nbsp;&lt;span&gt;SEGGER_THUMB_Startup.S, but thumb_crt0.s. Replacing this file seems to solve the first error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The second error is caused by your flash_placement.xml file not containing the memory sections that are used by our startup-file. Replacing the file with one from a SDK 16.0.0 example seems to solve this issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When doing this, more errors occur. You should remove the Memory Map File config, and add this under Memory Segments in the project settings: &amp;quot;FLASH RX 0x0 0x80000;RAM RWX 0x20000000 0x10000&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Finally, you need to include all the missing source files and enable these in the sdk_config.h file. This seems to be so many that I did not take the time to do it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/243904?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 12:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:289fbef7-bda0-451c-8a16-c1ee003d42df</guid><dc:creator>Niranjan Pandian</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_adv.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_adv.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have attached the zip file, the program isnt fully complete.&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;modified&amp;nbsp;the program as per above suggestion and I was able to avoid the error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error - BLE advertising</title><link>https://devzone.nordicsemi.com/thread/243842?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 09:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23ef49c2-ccc6-43da-b4a7-edc3e8617422</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The last error is caused either by the ble_advertising.c source file not being included in the project, or the module not being enabled in the sdk_config.h file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &amp;lt;q&amp;gt; BLE_ADVERTISING_ENABLED  - ble_advertising - Advertising module
 

#ifndef BLE_ADVERTISING_ENABLED
#define BLE_ADVERTISING_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The other two errors seem to be related to the project config. Could you zip up your project and upload it here? That would make it easier for us to debug the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>