<?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>undefined reference to `nrfx_rtc_disable&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100504/undefined-reference-to-nrfx_rtc_disable</link><description>Hi 
 I am trying to modify the Nordic_UART BLE app `ble_app_uart_pca10056_s140` to test high throughput communication with CLE enabled, rx_phys and tx_phys set BLE_GAP_PHY_2MBPS, and set NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 247. 
 Adding counter.c to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jun 2023 10:08:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100504/undefined-reference-to-nrfx_rtc_disable" /><item><title>RE: undefined reference to `nrfx_rtc_disable'</title><link>https://devzone.nordicsemi.com/thread/429515?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 10:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f02844-523e-4758-84f4-9c21ca5995b8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello John,&lt;br /&gt;&lt;br /&gt;Great! I am happy to hear that it now is working as intended :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any other issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `nrfx_rtc_disable'</title><link>https://devzone.nordicsemi.com/thread/429512?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 09:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03417c8c-fb1f-4a79-b3b6-245cd529b8f0</guid><dc:creator>JohnLeung00</dc:creator><description>&lt;p&gt;Hi Karl&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot. By removing RTC_ENABLED define from sdk_config.h and adding nrfx_rtc.c/.h to my project, it is compiling OK now.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `nrfx_rtc_disable'</title><link>https://devzone.nordicsemi.com/thread/429478?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 08:13:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a3c560-9ea6-4928-aa00-1396af25fc3e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Adding counter.c to the project with sdk_config.h modified such that&amp;nbsp;NRFX_RTC_ENABLED=1,&amp;nbsp;NRFX_RTC2_ENABLED=1, RTC_ENABLED=1, &amp;amp; RTC2_ENABLED=1.[/quote]
&lt;p&gt;Please remove the legacy RTC_ENABLED define from your sdk_config.h, as this will trigger the apply_old_config to overwrite your NRFX_* sdk configurations.&lt;/p&gt;
[quote user=""]How to solve this error?[/quote]
&lt;p&gt;Have you added the nrfx_rtc .c/.h files to your project?&lt;br /&gt;I would in general recommend that you use the nrfx function calls directly in your code, instead of the legacy nrf_drv_* API.&lt;br /&gt;There are few differences here - especially since the nrf_drv_* calls are macro-forwarded to their equivalent nrfx_ API calls behind the scenes - but it is considered a better practice, and will make maintenance easier later on.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>