<?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 issue in SDK15.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51106/linker-issue-in-sdk15-2</link><description>I am following this tutorial: 
 
 https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial?CommentId=43347679-22d9-4d45-ad73-4632d06c5e3e 
 
 But when I compile I ran into this issue where 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2019 14:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51106/linker-issue-in-sdk15-2" /><item><title>RE: Linker issue in SDK15.2</title><link>https://devzone.nordicsemi.com/thread/205085?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 14:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43a971d-8b05-4aa7-abfa-a2b68a3c54bc</guid><dc:creator>morerook</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So I can&amp;#39;t use the same file from across different SDKs?&lt;/p&gt;
&lt;p&gt;I thought as because it was a common peripheral component, I could just use it with the Thread SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Finally for clarification, the same tutorial cannot be used for setting up app_timer in the Thread SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issue in SDK15.2</title><link>https://devzone.nordicsemi.com/thread/205004?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 11:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9cfe9f4-1863-44f1-9255-35ea4053c6f4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Your app_timer.c comes from&amp;nbsp;nRF5_SDK_for_Thread. Please use the same SDK source as&amp;nbsp;&lt;span&gt;nRF5_SDK_15.2.0_9412b96.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I suggest you go through &amp;quot;&lt;strong&gt;Add required files and includes&amp;quot;&lt;/strong&gt; section of t&lt;span&gt;he tutorial and check your setting again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issue in SDK15.2</title><link>https://devzone.nordicsemi.com/thread/204749?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 12:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70505612-0b87-4a47-ba57-eb1e792612cb</guid><dc:creator>morerook</dc:creator><description>&lt;p&gt;Thank you for the fast response!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have indeed missed the app_timer.c inclusion, and I noticed it was also included in the tutorial. Parts 2 and 3 I have checked and are done. However, once I included the file I ran into another issue:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Building ‘app_timer_tutorial_pca10056’ from solution ‘app_timer_tutorial_pca10056’ in configuration ‘Release’
1&amp;gt; Compiling ‘app_timer.c’
2&amp;gt; Compiling ‘main.c’
1&amp;gt; In file included from ../../../../../../components/libraries/util/sdk_common.h:57,
1&amp;gt;                  from D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:40:
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:32: error: &amp;#39;SWIAPP_TIMER_CONFIG_SWI_NUMBER_EGUAPP_TIMER_CONFIG_SWI_NUMBER_IRQn&amp;#39; undeclared (first use in this function)
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:137:31: note: in definition of macro &amp;#39;CONCAT_3_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:24: note: in expansion of macro &amp;#39;CONCAT_3&amp;#39;
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:116:31: note: in expansion of macro &amp;#39;CONCAT_2_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:23: note: in expansion of macro &amp;#39;CONCAT_2&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:33: note: in expansion of macro &amp;#39;SWI_PART&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:78:18: note: in expansion of macro &amp;#39;SWI_IRQ_n&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:365:24: note: in expansion of macro &amp;#39;SWI_IRQn&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:32: note: each undeclared identifier is reported only once for each function it appears in
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:137:31: note: in definition of macro &amp;#39;CONCAT_3_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:24: note: in expansion of macro &amp;#39;CONCAT_3&amp;#39;
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:116:31: note: in expansion of macro &amp;#39;CONCAT_2_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:23: note: in expansion of macro &amp;#39;CONCAT_2&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:33: note: in expansion of macro &amp;#39;SWI_PART&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:78:18: note: in expansion of macro &amp;#39;SWI_IRQ_n&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:365:24: note: in expansion of macro &amp;#39;SWI_IRQn&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:32: error: &amp;#39;SWIAPP_TIMER_CONFIG_SWI_NUMBER_EGUAPP_TIMER_CONFIG_SWI_NUMBER_IRQn&amp;#39; undeclared (first use in this function); did you mean &amp;#39;SWIAPP_TIMER_CONFIG_SWI_NUMBER_EGUAPP_TIMER_CONFIG_SWI_NUMBER_IRQHandler&amp;#39;?
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:137:31: note: in definition of macro &amp;#39;CONCAT_3_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:24: note: in expansion of macro &amp;#39;CONCAT_3&amp;#39;
1&amp;gt; ../../../../../../components/libraries/util/nordic_common.h:116:31: note: in expansion of macro &amp;#39;CONCAT_2_&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:69:23: note: in expansion of macro &amp;#39;CONCAT_2&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:71:33: note: in expansion of macro &amp;#39;SWI_PART&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:78:18: note: in expansion of macro &amp;#39;SWI_IRQ_n&amp;#39;
1&amp;gt; D:\Current Work\BLE\nRF5_SDK_for_Thread\components\libraries\timer\app_timer.c:949:26: note: in expansion of macro &amp;#39;SWI_IRQn&amp;#39;
Build failed
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issue in SDK15.2</title><link>https://devzone.nordicsemi.com/thread/204709?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 10:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c40bc528-5aa6-4766-a19e-7a1e3eecb7bb</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the error message, the app_timer.c which has the app_timer_init definition is not set as the tutorial.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you kindly help check:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;lt;SDK&amp;gt;/components/libraries/timer/app_timer.c is added into right side library folder as&amp;nbsp;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-eb0da8eca5f14795aac813d3993885e8/234480_5F00_1.png" /&gt;&lt;/li&gt;
&lt;li&gt;The main.c includes statements:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;app_timer.h&amp;quot;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Enable timer driver in the sdk_config.h as the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial?CommentId=43347679-22d9-4d45-ad73-4632d06c5e3e"&gt;tutorial&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>