<?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>SDK File inclusion for app_error_weak.c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32610/sdk-file-inclusion-for-app_error_weak-c</link><description>The file nRF5_SDK_1 4.2.0_17b948a/components/libraries/util/app_error_weak.c requires the following modification to correctly compile: Add: #include &amp;quot;app_util_platform.h&amp;quot; 
 Thanks, 
 -- Nat</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Mar 2018 17:16:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32610/sdk-file-inclusion-for-app_error_weak-c" /><item><title>RE: SDK File inclusion for app_error_weak.c</title><link>https://devzone.nordicsemi.com/thread/125418?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 17:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed442762-4cd8-4f29-9cd9-773c1c318f42</guid><dc:creator>natersoz</dc:creator><description>&lt;p&gt;OK - I see what happened: I&amp;#39;m using a different &amp;#39;logger&amp;#39; and have replaced nrf_log.h with my own version.&lt;/p&gt;
&lt;p&gt;The SDK code: nrf_log.h includes sdk_common.h, which includes app_util.h which includes app_util_platform.h.&lt;/p&gt;
&lt;p&gt;And app_error_weak.c gets the header included via nrf_log.h.&lt;/p&gt;
&lt;p&gt;So, you&amp;#39;re correct. Not an SDK problem.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look a little harder next time ...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-- Nat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK File inclusion for app_error_weak.c</title><link>https://devzone.nordicsemi.com/thread/125407?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 16:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:031833ac-84dc-4c6c-865c-e0b4794d776e</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is strange. I use the SDK daily, and have never had the need to include do that.&amp;nbsp;I don&amp;#39;t think I have seen other similar reports either. Can you please explain what happens if you don&amp;#39;t include it? What does the compiler say? Are you sure you never changed anything to app_error_weak.c?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>