<?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 uart functionality to a project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57238/adding-uart-functionality-to-a-project</link><description>I don&amp;#39;t know if this something I&amp;#39;m doing wrong, a Segger stupidity, or something else. I&amp;#39;m using SES and copied the examples/ble_central/ble_app_blink_c project to another directory and changed all the include paths (why is this the way to create new</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2020 17:51:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57238/adding-uart-functionality-to-a-project" /><item><title>RE: Adding uart functionality to a project</title><link>https://devzone.nordicsemi.com/thread/234749?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 17:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a36c9c6-b208-471d-ba51-a81fbbbf39db</guid><dc:creator>jbmillard</dc:creator><description>&lt;p&gt;It looks like if I edit the project file directly, it works. &amp;nbsp;Not sure why I have to do that...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding uart functionality to a project</title><link>https://devzone.nordicsemi.com/thread/233794?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 14:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:420c40cf-3505-4af9-ba5a-9494333ba864</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I took a quick look over this now and it seems like I made some mistakes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In step 3 I think it should be&amp;nbsp;&lt;span&gt;..\Desktop\blinky\pca10040\&lt;strong&gt;blank&lt;/strong&gt;\ses.. and not&amp;nbsp;..\Desktop\blinky\pca10040\&lt;strong&gt;s132&lt;/strong&gt;\ses..&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;In step 6, I don&amp;#39;t think you should remove &lt;em&gt;blank\ses\blinky_pca10040.emProject.&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I will go through it again when I get the time and update the text.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding uart functionality to a project</title><link>https://devzone.nordicsemi.com/thread/233785?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 14:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aba479e1-e5fb-4101-a1d5-a585d7c10f43</guid><dc:creator>jbmillard</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;ll try to check this this week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding uart functionality to a project</title><link>https://devzone.nordicsemi.com/thread/232432?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 23:26:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26fa2ae1-a40e-4855-9849-d411b0cfbba6</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I was able to make this work with another example (but the approach should be the same), I did the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Moved ..\nRF5_SDK_16.0.0_98a08e2\examples\peripheral\blinky to&amp;nbsp;..\Desktop\blinky&lt;/li&gt;
&lt;li&gt;Followed &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44638/how-to-move-an-sdk-example-out-of-the-sdk-tree"&gt;this approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Opened&amp;nbsp;..\Desktop\blinky\pca10040\s132\ses\blinky_pca10040_s132.emProject and added&amp;nbsp;&lt;em&gt;$(SDK)/components/libraries/fifo;&amp;nbsp;&lt;/em&gt;to&amp;nbsp;&lt;em&gt;c_user_include_directories&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Added the following to&amp;nbsp;&lt;em&gt;..\Desktop\blinky\pca10040\blank\config\sdk_config.h&lt;/em&gt;Opened ..\&lt;em&gt;Desktop\blinky\pca10040\blank\ses\blinky_pca10040.emProject&amp;nbsp;&lt;/em&gt;in SES&lt;pre class="ui-code" data-mode="text"&gt;//==========================================================
// &amp;lt;q&amp;gt; APP_FIFO_ENABLED  - app_fifo - Software FIFO implementation
 

#ifndef APP_FIFO_ENABLED
#define APP_FIFO_ENABLED 1
#endif

// &amp;lt;e&amp;gt; APP_UART_ENABLED - app_uart - UART driver
//==========================================================
#ifndef APP_UART_ENABLED
#define APP_UART_ENABLED 1
#endif
// &amp;lt;o&amp;gt; APP_UART_DRIVER_INSTANCE  - UART instance used
 
// &amp;lt;0=&amp;gt; 0 

#ifndef APP_UART_DRIVER_INSTANCE
#define APP_UART_DRIVER_INSTANCE 0
#endif

// &amp;lt;/e&amp;gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;In SES, I added&amp;nbsp;&lt;em&gt;..\nRF5_SDK\nRF5_SDK_16.0.0_98a08e2\components\libraries\uart\app_uart_fifo.c &lt;/em&gt;and &lt;em&gt;..\nRF5_SDK_16.0.0_98a08e2\components\libraries\fifo\app_fifo.c&amp;nbsp;&lt;/em&gt;to &lt;em&gt;Project &amp;#39;Blinky_pca10040&amp;#39; → nRF_Drivers&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Remove&amp;nbsp;&lt;em&gt;Desktop\blinky\pca10040\blank\ses\blinky_pca10040.emProject&amp;nbsp;&lt;/em&gt;and&amp;nbsp;&lt;em&gt;Desktop\blinky\pca10040\blank\ses\blinky_pca10040.emSession&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Build project from SES&lt;/li&gt;
&lt;li&gt;Right click on&amp;nbsp;&lt;em&gt;#include &amp;quot;app_fifo.h&amp;quot;&amp;nbsp;&lt;/em&gt;in &lt;em&gt;app_uart_fifo.c&amp;nbsp;&lt;/em&gt;and click on&amp;nbsp;Go to included file... and it shoud work&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>