<?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: &amp;#39;NRFX_RTC1_INST_IDX&amp;#39; undeclared here on ncs v2.4.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104843/error-nrfx_rtc1_inst_idx-undeclared-here-on-ncs-v2-4-2</link><description>I would like to access RTC1 through NRFX_RTC_INSTANCE macro. But west build failed. Does you have any suggestion? 
 
 
 Procedures to reproduce this issue are as follows. 
 1. Unzipping rtc.zip to C:\ncs\v2.4.2\nrf\samples folder. 
 2. west build -b </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Oct 2023 09:41:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104843/error-nrfx_rtc1_inst_idx-undeclared-here-on-ncs-v2-4-2" /><item><title>RE: error: 'NRFX_RTC1_INST_IDX' undeclared here on ncs v2.4.2</title><link>https://devzone.nordicsemi.com/thread/451237?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 09:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58a1ef5e-bfbf-4c09-a571-a3c2ca21aef9</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;I have fixed this issue by adding the following definition to prj.conf file.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_COMPILER_OPT=&amp;quot;-DNRFX_RTC_ENABLED=1 -DNRFX_RTC1_ENABLED=1&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: 'NRFX_RTC1_INST_IDX' undeclared here on ncs v2.4.2</title><link>https://devzone.nordicsemi.com/thread/451210?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 08:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5722ea86-d29f-4a2e-989c-534c0d37cd5d</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8206.rtc.zip"&gt;devzone.nordicsemi.com/.../8206.rtc.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>