<?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>Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37257/adding-a-new-header-file-segger-embedded-studio</link><description>I realize I am like the hundredth person to have this problem but all the solutions I have found don&amp;#39;t seem to work. 
 I am trying to add a simple header file to the nordic ble_blinky example but keep getting a `No such file or directory`. 
 The files</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Aug 2018 06:21:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37257/adding-a-new-header-file-segger-embedded-studio" /><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143474?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 06:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa35c7b1-7f06-4cc2-8b5a-687514a0618e</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks for contributing with a solution cbd. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad you were able to figure it out.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143417?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 14:59:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:837b29dd-1da8-4b72-89e0-4d7afcc44063</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;No problem.&lt;/p&gt;
&lt;p&gt;Just remember:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The folders within SES Project Explorer are just for organising your project view. The files shown can be in different directories to each other and ones not matching the folder name.&lt;/li&gt;
&lt;li&gt;Whenever you add a new file ensure that you specify its location in the creation dialog box.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I tend to place my own code in a Directory called &amp;quot;Application_Files&amp;quot; within my project, although in SES project explorer they may show up as in &amp;quot;Application_Files\BLE_Services&amp;quot; or &amp;quot;Application_Files\Protocols&amp;quot;. I then use an include path of &amp;quot;$(ProjectDir)/Application_Files&amp;quot; and it will pick them all up.&lt;/p&gt;
&lt;p&gt;The compiler uses the project description file to locate the C code, but the header files are located from your pre-processor include path names.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143416?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 14:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8092ca65-5b35-4c24-9bf8-d0e5f41303e1</guid><dc:creator>LuckyGinger</dc:creator><description>&lt;p&gt;That seems to be a tedious&amp;nbsp;way of creating and managing files, but it worked.&lt;/p&gt;
&lt;p&gt;Time to solve the next problem that crops up.&lt;/p&gt;
&lt;p&gt;Thanks, my good sir.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143409?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 14:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64838b40-2fff-4377-b3a1-d35458fd9fee</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you move the files over to your new directory? If you did then you will need to remove them within SES Project explorer and then add them back in as &amp;quot;Add existing file&amp;quot;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re not sure where they actually are then right click on the file in question within SES project explorer and select &amp;quot;Select in File Explorer&amp;quot; in the pop-up menu this should help you locate them.&lt;/p&gt;
&lt;p&gt;As long as you have an include path to where they reside then you should be okay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143404?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 14:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190dc9c9-23d6-4c8c-953f-5ec952c1491f</guid><dc:creator>LuckyGinger</dc:creator><description>&lt;p&gt;So I created the folder within my system directory however that seems to make thing worse.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1533737906916v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When I try to click on the files they cannot be read.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1533737950700v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It looks like it can find the files when I keep them where they were. It just can&amp;#39;t compile them in with the project. It has to be some sort of simple linking error I am having.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new header file Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/143307?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 07:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2921796c-25fb-48a3-882e-c6a3c9bf8452</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;I see that within your project you created a folder called ble_cus. These folders are just section labels within the SES XML based project file. They do not relate to the operating system file system.&lt;/p&gt;
&lt;p&gt;Did you create an actual file system directory called ble_cus and place your new files into it?&lt;/p&gt;
&lt;p&gt;If you created the new files within SES then unless you changed the location for the file within the pop-up dialog the new files will be created within the project directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>