<?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>Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17325/why-when-i-compile-a-proyect-the-files-h-not-being-created</link><description>I use nRF51 DK and soft device s130. 
 I nedd to add a file (&amp;quot;app_uart_fifo.c&amp;quot;) in the example of multilink central, after i add the file i build the proyect but the files .h never being created. I have to do something more?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Oct 2016 14:28:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17325/why-when-i-compile-a-proyect-the-files-h-not-being-created" /><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66573?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c217c8e1-9fa2-40e3-9b78-09ee76b0f969</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Now i add &amp;quot;app_uart_fifo.c&amp;quot; and is everithing good! Thaks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66572?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af662eb0-9d99-44e2-84e8-3b5ef26c45d3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66571?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdbee7be-c335-4a74-a319-7040d9e3a04c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, you need it for UART to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66570?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:18:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f1e714-55d0-484b-b979-1d6bfc5b46fc</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Yes i remove. Can i have to add again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66569?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100697c4-9cf9-4138-a7c2-d1b08726d218</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you remove &lt;em&gt;app_uart_fifo.c&lt;/em&gt; from your project again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66568?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 13:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a902c5ae-4ad1-475a-8cc8-62555f1decac</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;I fix the errors, i include uart in paths and i set APP_UART_ENABLED but i don&amp;#39;t see app_uart.c nor app_uart_fifo.c. I put an image below about what keil show me now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66566?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 12:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d8eb49-2a89-497a-90be-8d64199cc4a1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to set &lt;code&gt;APP_UART_ENABLED&lt;/code&gt; in &lt;em&gt;sdk_config.h&lt;/em&gt; if you use SDK v12. Your build output compains a lot about &lt;em&gt;app_uart.c&lt;/em&gt;. You should not include this file if you include &lt;em&gt;app_uart_fifo.c&lt;/em&gt;. There are no &lt;em&gt;app_uart_fifo.h&lt;/em&gt;-file, you should use &lt;em&gt;app_uart.h&lt;/em&gt; together with either &lt;em&gt;app_uart.c&lt;/em&gt; &lt;strong&gt;or&lt;/strong&gt; &lt;em&gt;app_uart_fifo.c&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66575?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 12:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b0dbb0-06b2-4d1f-97c3-30db94996e1b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you want to use printf() function for UART, you need to add retarget.c to your project as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66565?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 12:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6a3e5d9-a11a-4846-acc8-c628670d025f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You don&amp;#39;t include them - you just add the include path so the compiler finds them. The IDE just shows the headers it found when compiling the code. The reason it doesn&amp;#39;t show any, is because it didn&amp;#39;t manage to compile the code because it&amp;#39;s full of errors.&lt;/p&gt;
&lt;p&gt;It seems you&amp;#39;re not even compiling app_uart_fifo.c but app_uart.c, you can tell that from the name of the file in the error messages. Get the file list right and go fix up the errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66564?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 11:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa83218-2fa5-41b5-aad3-b981d179dbf5</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Here i show a print screen from the uart example:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6254.Uart.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;And here i put a print screen from my proyect:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/maestro.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;In my proyect i include the file &amp;quot;app_uart_fifo.h&amp;quot; but i don&amp;#39;t know what i have to do to include all of those .h files that i show in the uart example?&lt;/p&gt;
&lt;p&gt;I solve the errors but i still don&amp;#39;t see uart.c not app_uart_fifo.c:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Uart-incluida.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66576?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 11:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8cffe73-d9f6-44ec-8b8b-f319ec6f5967</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Jorgen i just do that, but this don&amp;#39;t solve my problem.&lt;/p&gt;
&lt;p&gt;I have to use the function &amp;quot;app_uart_put()&amp;quot;. I write an answer more explicit above&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66574?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 08:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1584804f-a9de-47bc-a738-1ae39fcd89a0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to include the app_uart.h file to your project and add the path to the header file:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Keil, go to Project -&amp;gt; Options for target&lt;/li&gt;
&lt;li&gt;In the C/C++ tab, add &lt;code&gt;..\..\..\..\..\..\components\libraries\uart\&lt;/code&gt; to the include path.&lt;/li&gt;
&lt;li&gt;Include app_uart.h to the project by writing &lt;code&gt;#include &amp;quot;app_uart.h&amp;quot;&lt;/code&gt; near the top of the &lt;em&gt;main.c&lt;/em&gt; file (or in whatever file you will be using the UART library).&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why when i compile a proyect the files .h not being created?</title><link>https://devzone.nordicsemi.com/thread/66567?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 00:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf5d3d8b-9cba-46f2-a03a-73e555160caa</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Compilation doesn&amp;#39;t create .h files, compilation uses .h files. Your image shows nothing useful except that the final target wasn&amp;#39;t created, it shows none of the actual compilation errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>