<?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>Migrating SDK 6.1 -&amp;gt; SDK 10</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11329/migrating-sdk-6-1---sdk-10</link><description>I just needed some clarification as I&amp;#39;m migrating from SDK 6.1 to SDK10: 
 
 
 app_button: There&amp;#39;s no way to have the Button function thru the Scheduler anymore. I would have in effect have to write my own app_button_with_scheduler module 
 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Mar 2016 14:45:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11329/migrating-sdk-6-1---sdk-10" /><item><title>RE: Migrating SDK 6.1 -&gt; SDK 10</title><link>https://devzone.nordicsemi.com/thread/42606?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2016 14:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f887b80c-cd40-49c6-80cc-2a9adce63eee</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;I&amp;#39;m also trying to port my application from SDK V6.1.0 to SDK 10.0.0 and maybe &lt;a href="https://devzone.nordicsemi.com/question/67854/dfu-ota-over-ble-compatibility-query-s110-and-sdk-version/"&gt;this&lt;/a&gt; thread will be useful as well for you. My current understanding is that, nrf_drv_config.h has to be manually edited as per the requirements. I&amp;#39;ve a custom board with nrf51822QFAA SOC and I&amp;#39;m using the nrf_drv_config.h template file from one of the examples under&lt;/p&gt;
&lt;p&gt;&amp;quot;C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\10.0.0\ble_peripheral\ble_app_hrs\pca10028\s110\arm5\RTE\nRF_Drivers\nRF51422_xxAC&amp;quot;  (&lt;strong&gt;Note&lt;/strong&gt; that this example is for &lt;strong&gt;nrf51422&lt;/strong&gt; based SOC)&lt;/p&gt;
&lt;p&gt;for my board but using it as it is in my case causes conflicts with UART handler. While compiling, I get following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error: L6200E: Symbol UART0_IRQHandler multiply defined (by nrf_drv_uart.o and test_app_uart.o&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;Here, &lt;em&gt;test_app_uart&lt;/em&gt;.c is part of my application and I do not wish to change the UART0_IRQHandler defined here.&lt;/p&gt;
&lt;p&gt;One way to get rid of this is to comment out the UART IRQ handler in nrf_drv_uart.c &lt;em&gt;(C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Drivers\3.1.0\uart)&lt;/em&gt; but this is really &lt;strong&gt;bad&lt;/strong&gt; and if I try not to use nrf_drv_uart by unchecking nrf_drv_uart box from the KEIL runtime environment, I get into a lot of dependency issue :( So what is the best way to solve this issue ?&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating SDK 6.1 -&gt; SDK 10</title><link>https://devzone.nordicsemi.com/thread/42605?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2016 15:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35637263-d6d2-431f-b758-9dd4154158b2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Dave&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The option of letting the app_button call the scheduler was apparently removed in nRF51 SDK 8.0.0. I am not sure for the reason for it, but if you still want to use scheduler for app_button, you should need to add that functionality manually.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In fact, the app_button handler is not executed in app_gpiote interrupt context. What happens is the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;App_button is initialized and registers gpiote user and callback, creates app_timer and callback&lt;/li&gt;
&lt;li&gt;When button is pushed, the APP_IRQ_PRIORITY_HIGH app_gpiote handler is executed which starts an app_timer.&lt;/li&gt;
&lt;li&gt;When the app_timer expires, APP_IRQ_PRIORITY_LOW interrupt handler is executed which calls app_button interrupt handler. If scheduler was chosen when initializing the app_timer library, the app_button is also called with in main context. So it seems you control the context of the app_button handler by choosing to use scheduler or not for app_timer.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="2"&gt;
&lt;li&gt;
&lt;p&gt;I see no problem in starting a timer in app_button handler&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I would recommend to use the drivers and the nrf_drv_config.h driver configuration file for SDK 10.0.0. All implementation is tailored around the drivers and I find it much easier to use them for SDK 8.0.0+. All peripheral examples in SDK 10.0.0 should use the peripheral drivers, e.g. spi_master,  uart, etc. You can not use the peripherals unless you enable them in nrf_drv_config.h&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>