<?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>&amp;#39;NRF_SUCCESS&amp;#39; undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34971/nrf_success-undeclared-first-use-in-this-function</link><description>Hello! 
 It&amp;#39;s the first time using Nordic devices so i&amp;#180;m doing some SDK examples and trying to merge them. I&amp;#39;m using SEGGER Embedded Studio. Right now i&amp;#180;m using ble_app_blinky and tried to merge pwm_library . I already added the existing files from pwm_library</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jun 2018 20:17:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34971/nrf_success-undeclared-first-use-in-this-function" /><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134808?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 20:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4539ede-9ac3-4571-af6d-d6675926c2c3</guid><dc:creator>gercer</dc:creator><description>&lt;p&gt;Awesome thanks!&lt;br /&gt;&lt;br /&gt;I after deleting that include i had the same issue with other files. I remembered i copied and pasted the nosd nrf_error.h to other folders trying to fix the problem so i had to delete them too and now it&amp;#39;s working fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134649?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 07:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8064a34a-5300-45b9-842a-c14b516809ae</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem is that you have&amp;nbsp;&lt;code&gt;../../../../../../components/drivers_nrf/nrf_soc_nosd&lt;/code&gt; in your projects include path. This contain a variant of nrf_error.h that is only to be used without a SoftDevice. The correct SoftDevice include directory (&lt;code&gt;../../../../../../components/softdevice/s132/headers&lt;/code&gt;) is also included later&amp;nbsp; in the list. These should never be used in the same project, and you should always use the variant which matched your SoftDevice.&lt;/p&gt;
&lt;p&gt;You should remove the &lt;code&gt;nrf_soc_nosd&lt;/code&gt; include&amp;nbsp; from the project wide Common configuration, as well as for the single file (&lt;code&gt;nrf_nvic.c&lt;/code&gt;) where you have edited it. Make sure you use inherited configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134615?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 17:25:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21929aa0-d76d-4a7a-9cd1-b53ece38c9cd</guid><dc:creator>gercer</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1373.ble_5F00_app_5F00_blinky.zip"&gt;devzone.nordicsemi.com/.../1373.ble_5F00_app_5F00_blinky.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134496?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 09:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2c3ff0-31a5-48cd-800e-15c6162242dc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;This is a bit strange. Can you upload the project here so that I can test on my side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134405?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 17:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5229c28b-295a-49b6-b5cf-d77a6c57343d</guid><dc:creator>gercer</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;What i find pretty weird is that files, like&amp;nbsp;&lt;em&gt;&amp;lsquo;nrf_log_frontend.c&amp;rsquo;&lt;/em&gt;&amp;nbsp;and&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;em&gt;&amp;lsquo;nrf_log_backend_uart.c&amp;rsquo;,&amp;nbsp;&amp;nbsp;&lt;/em&gt;has that error. If I compile ble_app_blinky that error doesn&amp;acute;t exist in those files. Maybe, somehow, the files i added interfere and creates this problem?&lt;/p&gt;
&lt;p&gt;The files i added were:&lt;br /&gt;nrfx_ppi.c&lt;br /&gt;nrf_drv_ppi.c&lt;br /&gt;nrf_nvic.c&lt;br /&gt;nrf_soc.c&lt;br /&gt;nrfx_timer.c&lt;br /&gt;app_pwm.c&lt;/p&gt;
&lt;p&gt;No other errors or warnings after adding all the files from pwm_library project.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'NRF_SUCCESS' undeclared (first use in this function)</title><link>https://devzone.nordicsemi.com/thread/134333?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 10:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cda99ee-c24e-467c-9ba1-ba52db6c236d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That should not be an issue. Referring to SDK 15, the main.c of the&amp;nbsp;ble_app_blinky already has the needed includes and uses NRF_SUCCESS. Do you get any other errors or warnings earlier in the compilation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>