<?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>APP_TIMER in sdk v14 build errors when migrating from v12.3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26005/app_timer-in-sdk-v14-build-errors-when-migrating-from-v12-3</link><description>Hello I am using PCA10040, nRF52832, and GCC toolchain 
 I have a project that was working good using sdk v12.3 but now I want to migrate to the latest and I am getting one particular error I have not been able to resolve. 
 
 error: &amp;#39;APP_TIMER_USER_OP_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 12:07:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26005/app_timer-in-sdk-v14-build-errors-when-migrating-from-v12-3" /><item><title>RE: APP_TIMER in sdk v14 build errors when migrating from v12.3</title><link>https://devzone.nordicsemi.com/thread/102487?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 12:07:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c985a3cd-502d-4fc1-866b-fbc4b7776d70</guid><dc:creator>Ed</dc:creator><description>&lt;p&gt;Thank you for clarifying this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_TIMER in sdk v14 build errors when migrating from v12.3</title><link>https://devzone.nordicsemi.com/thread/102486?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 09:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed5554b6-3da6-46dd-8a41-ca0216eeb5a4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;code&gt;APP_TIMER_USER_OP_SIZE&lt;/code&gt; was used internally in the app timer library to calculate the required application timer buffer size(in bytes), based on the &lt;code&gt;OP_QUEUE_SIZE&lt;/code&gt; that was used when initializing the app timer.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_TIMER_INIT(PRESCALER, OP_QUEUE_SIZE, SCHEDULER_FUNC);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In SDK 13 the static configuration of the app timer module was moved to &lt;code&gt;sdk_config.h&lt;/code&gt;, and &lt;code&gt;OP_QUEUE_SIZE&lt;/code&gt;  was replaced with &lt;code&gt;APP_TIMER_CONFIG_OP_QUEUE_SIZE&lt;/code&gt; (defined in &lt;code&gt;sdk_config.h&lt;/code&gt;), and &lt;code&gt;APP_TIMER_USER_OP_SIZE&lt;/code&gt; was no longer needed.&lt;/p&gt;
&lt;p&gt;The app timer is now initialized like this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = app_timer_init();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Make sure that you are using both the updated &lt;code&gt;app_timer.c&lt;/code&gt; and &lt;code&gt;app_timer.h&lt;/code&gt; in your project.&lt;/p&gt;
&lt;p&gt;For more information about migrating the app timer see the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/lib_timer.html?cp=4_0_0_3_43_1#lib_timer_migration"&gt;migration note&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>