<?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>Including custom header files nRF52840 SDK16</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59782/including-custom-header-files-nrf52840-sdk16</link><description>Hi everyone, 
 I am trying to include a header file into my project but the build solution fails with the error &amp;quot;No such file or directory&amp;quot; 
 I have placed my .c and .h file with the main file and also included in the project 
 
 
 
 Also, I have included</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Apr 2020 13:04:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59782/including-custom-header-files-nrf52840-sdk16" /><item><title>RE: Including custom header files nRF52840 SDK16</title><link>https://devzone.nordicsemi.com/thread/242964?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 13:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea04b7e1-19bc-4ec6-afc4-2bf3dbce125a</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;aaaah that&amp;#39;s funny!! thanks for the help!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Including custom header files nRF52840 SDK16</title><link>https://devzone.nordicsemi.com/thread/242956?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 12:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6fe53f-5132-4dd9-90b6-cc0d0af1d5fc</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think I read through your post too fast.&lt;/p&gt;
&lt;p&gt;Move the files back to beside the main.c file and do this instead:&lt;/p&gt;
&lt;p&gt;You&amp;#39;re trying to include &amp;quot;template_service&amp;quot; instead of &amp;quot;template_service.h&amp;quot;, which is the correct name.&lt;/p&gt;
&lt;p&gt;Try adding the extension, so:&lt;/p&gt;
&lt;p&gt;#include &amp;quot;tempate_service.h&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Including custom header files nRF52840 SDK16</title><link>https://devzone.nordicsemi.com/thread/242952?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 12:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a7e1f0b-482b-4091-9943-5c36da216af4</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Thanks for your prompt response. I placed my files into the SES folder but the problem persists with the same error... Do I need to do something else?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_13.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Including custom header files nRF52840 SDK16</title><link>https://devzone.nordicsemi.com/thread/242923?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 11:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15efa70f-aacd-454a-9cc2-51d71815a430</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You need to place your files along side the SES project folder, not with the main.c file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>