<?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>Issues in nrf_sdh.c file, error: &amp;#39;SD_EVT_IRQn&amp;#39; undeclared</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50240/issues-in-nrf_sdh-c-file-error-sd_evt_irqn-undeclared</link><description>I am getting this error on SES &amp;quot;components\softdevice\common\nrf_sdh.c:164:20: error: &amp;#39;SD_EVT_IRQn&amp;#39; undeclared (first use in this function); did you mean &amp;#39;QDEC_IRQn&amp;#39;?&amp;quot; SD_EVT_IRQn is defined in nrf_soc.h file and I have included it in User Include Directories</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 03 Aug 2019 19:14:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50240/issues-in-nrf_sdh-c-file-error-sd_evt_irqn-undeclared" /><item><title>RE: Issues in nrf_sdh.c file, error: 'SD_EVT_IRQn' undeclared</title><link>https://devzone.nordicsemi.com/thread/202255?ContentTypeID=1</link><pubDate>Sat, 03 Aug 2019 19:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe12e0b-f88f-4d9a-ae8e-18ab3d358f15</guid><dc:creator>BinderT</dc:creator><description>&lt;p&gt;Try Changing this define in sdk_config.h or what ever SES uses.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;i&amp;gt; NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
// &amp;lt;i&amp;gt; NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
// &amp;lt;i&amp;gt; NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
// &amp;lt;0=&amp;gt; NRF_SDH_DISPATCH_MODEL_INTERRUPT 
// &amp;lt;1=&amp;gt; NRF_SDH_DISPATCH_MODEL_APPSH 
// &amp;lt;2=&amp;gt; NRF_SDH_DISPATCH_MODEL_POLLING 

#ifndef NRF_SDH_DISPATCH_MODEL
#define NRF_SDH_DISPATCH_MODEL 0
#endif&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in nrf_sdh.c file, error: 'SD_EVT_IRQn' undeclared</title><link>https://devzone.nordicsemi.com/thread/202209?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 15:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:147f7436-d017-4cfd-b2de-55fc6d35911b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;I&amp;#39;m not really sure why you&amp;#39;re getting an undeclared error if you&amp;#39;ve already included the file and path it&amp;#39;s declared in.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]Note: I am trying to include softdevice in my project but only this error is hampering me.&lt;br /&gt;[/quote]
&lt;p&gt;The approach of including the softdevice in an already existing project isn&amp;#39;t something we recommend. The easiest approach would be to start with one of the ble examples, such as the ble_app_template example and then integrate &lt;strong&gt;your&lt;/strong&gt; application into the SDK example, instead of doing it the other-way-around.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in nrf_sdh.c file, error: 'SD_EVT_IRQn' undeclared</title><link>https://devzone.nordicsemi.com/thread/200661?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 07:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497854e6-6edf-4c12-8ad5-c19e957fbfda</guid><dc:creator>prithvi25</dc:creator><description>&lt;p&gt;Yes, I have included the file in the project. But still getting the same error.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1564125131906v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Getting Error in this file&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1564125215624v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in nrf_sdh.c file, error: 'SD_EVT_IRQn' undeclared</title><link>https://devzone.nordicsemi.com/thread/200521?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 12:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f5eb78-70e8-4463-88a9-cc1695424331</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Did you also remember to include the file in the project? See &lt;a href="https://www.youtube.com/watch?v=t-kh1EbesvI"&gt;this guide &lt;/a&gt;for tips on how to import files.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>