<?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>error:  #20: identifier &amp;quot;NRFX_TIMER0_INST_IDX&amp;quot; is undefined</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89183/error-20-identifier-nrfx_timer0_inst_idx-is-undefined</link><description>Hi, 
 I working with NRF52840 DK board, I need to read some potentiometer values from 0 to 10 using ADC with ble_app_uart. I have combined SAADC code and BLE_APP_UART code, while compiling the code I am getting some error as &amp;quot; #20: identifier &amp;quot;NRFX_TIMER0_INST_IDX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2022 08:00:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89183/error-20-identifier-nrfx_timer0_inst_idx-is-undefined" /><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373849?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 08:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b0e49e9-7047-44cc-a8d9-5e4dbf175f7c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I was referring to my &lt;a href="https://devzone.nordicsemi.com/support-private/support/291021#permalink=767952"&gt;(then) previous post in this thread&lt;/a&gt;. There you see the paths (relative to the SDK root) to&amp;nbsp;nrf_drv_ppi.c and&amp;nbsp;nrfx_ppi.c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373845?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22a466d-ee0f-4df0-b641-b171dfd8c8a9</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please send me your previous post link.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373831?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:28:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5952015-6478-472e-9ded-6336555bd32b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;For the path, please see my previous post. For adding files, that that depends on which IDE/toolchain you are using, but is not related specifically to the nRF (these are generic C programming concepts). If you are using Segger Embedded Studio for example, add a file for instance by right clicking on a &amp;quot;folder&amp;quot; under project items (by default on the left side) and select &amp;quot;Add existing file...&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373830?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94bf537d-9dee-4120-af1c-a21a4edcbc9f</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Can you please tell me how to add those two files and also send me the path location, from which place /path I need to add that files, actually i am new to this controller. Please help me.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373829?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c67fad72-da34-43d9-b4d6-dae9298078f6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;This is a linker warning indicating that these functions has not been compiled. That could either be because you have not added the .c files that implement them to the project so that they are not compiled, or that these functions are stripped out by the preprocessor, typically because of missing configurations in sdk_config.h.&lt;/p&gt;
&lt;p&gt;For instance for PPI, the relevant implementations are in&amp;nbsp;integration\nrfx\legacy\nrf_drv_ppi.c and&amp;nbsp;modules\nrfx\drivers\src\nrfx_ppi.c. So you need to add those two files. And you must make sure that&amp;nbsp;PPI_ENABLED is set to 1 in your sdk_config.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373822?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 06:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e47aca80-4b79-456b-a70a-215de4537ae4</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If I enabled the timer function in sdk_config.h means i am getting various error as attached below&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/56804.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373816?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 06:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba780d28-24fa-400e-bc00-2869fe52d696</guid><dc:creator>namitha K M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If I am enabled all the timer also , I am facing same issue. is there any other way to resolve the error.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error:  #20: identifier "NRFX_TIMER0_INST_IDX" is undefined</title><link>https://devzone.nordicsemi.com/thread/373441?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 12:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6019322-054c-4eda-b060-8e29ca703fc5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You typically get such errors if the peripheral you are using (TIMER0) here is not enabled in sdk_config.h. You should check that you have set&amp;nbsp;NRFX_TIMER_ENABLED,&amp;nbsp;NRFX_TIMER0_ENABLED,&amp;nbsp;TIMER_ENABLED and&amp;nbsp;TIMER0_ENABLED to 1 in your sdk_config.h (which of the former or latter two you need depends on which API you are using, but setting all is no harm).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>