<?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>Enabling softdevice with freertos</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46988/enabling-softdevice-with-freertos</link><description>Hello, 
 Currently, I am using NRF52832 and nRF5_SDK_15.2.0. Also, I am using FreeRTOS. 
 
 I disabled softdevice by calling nrf_sdh_disable_request() before goes to sleep mode. 
 I like to enable softdevice after wake up from sleep mode. 
 I tried to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 05:42:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46988/enabling-softdevice-with-freertos" /><item><title>RE: Enabling softdevice with freertos</title><link>https://devzone.nordicsemi.com/thread/196376?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 05:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54e2555c-0406-44c2-8936-97b206d9b940</guid><dc:creator>sara</dc:creator><description>&lt;p&gt;So to use app_timer_freertos.c what should I do? I have already disabled APP_TIMER but getting the following errors:&lt;/p&gt;
&lt;p&gt;&amp;quot;Building &amp;lsquo;ble_app_uart_pca10040_s132&amp;rsquo; from solution &amp;lsquo;ble_app_uart_pca10040_s132&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt; Linking ble_app_uart_pca10040_s132.elf&lt;br /&gt; &amp;quot;C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.52a/gcc/arm-none-eabi/bin/ld&amp;quot; -X --omagic -eReset_Handler --defsym=__vfprintf=__vfprintf_long --defsym=__vfscanf=__vfscanf_long -EL --gc-sections &amp;quot;-TD:/nRF5_SDK_15.3.0_59ac345/examples/ble_peripheral/ble_app_uart/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/ble_app_uart_pca10040_s132.ld&amp;quot; -Map Output/Release/Exe/ble_app_uart_pca10040_s132.map -u_vectors -o Output/Release/Exe/ble_app_uart_pca10040_s132.elf --emit-relocs &amp;quot;@D:/nRF5_SDK_15.3.0_59ac345/examples/ble_peripheral/ble_app_uart/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/ble_app_uart_pca10040_s132.ind&amp;quot;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/app_button.o: In function `gpiote_event_handler&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; undefined reference to `app_timer_start&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/app_button.o: In function `app_button_init&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_create&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/bsp.o: In function `bsp_button_event_handler&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_start&amp;#39;&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/bsp.o: In function `bsp_led_indication&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; undefined reference to `app_timer_start&amp;#39;&lt;br /&gt; undefined reference to `app_timer_start&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/bsp.o: In function `bsp_init&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_create&amp;#39;&lt;br /&gt; undefined reference to `app_timer_create&amp;#39;&lt;br /&gt; undefined reference to `app_timer_create&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/main.o: In function `saadc_sampling_event_init&amp;#39;:&lt;br /&gt; undefined reference to `nrfx_timer_init&amp;#39;&lt;br /&gt; undefined reference to `nrfx_timer_extended_compare&amp;#39;&lt;br /&gt; undefined reference to `nrfx_timer_enable&amp;#39;&lt;br /&gt; undefined reference to `nrf_drv_saadc_task_address_get&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/main.o: In function `timers_init&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_init&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/ble_conn_params.o: In function `conn_params_negotiation&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_start&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/ble_conn_params.o: In function `on_write&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/ble_conn_params.o: In function `on_disconnect&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_stop&amp;#39;&lt;br /&gt; Output/ble_app_uart_pca10040_s132 Release/Obj/ble_conn_params.o: In function `ble_conn_params_init&amp;#39;:&lt;br /&gt; undefined reference to `app_timer_create&amp;#39;&lt;br /&gt;Build failed,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So please tell me how to use app_timer_freertos.c in this situation. And also how to solve nrfx_timer error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling softdevice with freertos</title><link>https://devzone.nordicsemi.com/thread/186036?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 20:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a5d142-b4b3-4f95-9a8e-5d342b01c0e0</guid><dc:creator>Chongchun Moon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I like to change the direction. Because, It looks possible to archive sleep mode without disable softdevice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; But, I met another issue. So I will start conversation in other thread.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling softdevice with freertos</title><link>https://devzone.nordicsemi.com/thread/185987?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 13:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e610d88f-fb1d-420c-a0cb-2679d2838450</guid><dc:creator>Chongchun Moon</dc:creator><description>&lt;p&gt;Yes, I use app_timer_freertos.c&lt;/p&gt;
&lt;p&gt;Is there any reference to enable and disable softdevice when FreeRTOS is used?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Or Could you tell me proper way to enable and disable softdevice with FreeRTOS?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Chongchun Moon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling softdevice with freertos</title><link>https://devzone.nordicsemi.com/thread/185908?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 10:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f580406-b93a-4ddb-83fe-d9fcb7938f47</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Moon,&lt;/p&gt;
&lt;p&gt;you should not use app_timer.c when using freertos. Instead you should use app_timer_freertos.c (the header file is the same for both, app_timer.h)&lt;/p&gt;
&lt;p&gt;app_timer_freertos.c does not use RTC, but instead uses the internal timer features of the RTOS itself. So you have no problem using that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>