<?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>Problem with NRFX_CHECK(NRFX_UART_ENABLED) when trying to include the UART driver module to my project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48184/problem-with-nrfx_check-nrfx_uart_enabled-when-trying-to-include-the-uart-driver-module-to-my-project</link><description>Hi Nordic DevZone, 
 I am trying to include the UART driver module (.c .h file pairs) into my new project in SEGGER Embedded Studio. 
 I have done the following: 
 
 
 
 I have created a new folder, and added the existing driver file: nrfx_uart.c 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jun 2019 08:13:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48184/problem-with-nrfx_check-nrfx_uart_enabled-when-trying-to-include-the-uart-driver-module-to-my-project" /><item><title>RE: Problem with NRFX_CHECK(NRFX_UART_ENABLED) when trying to include the UART driver module to my project</title><link>https://devzone.nordicsemi.com/thread/190991?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 08:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1235c2-755b-4856-b285-ac8503b214fe</guid><dc:creator>awneil</dc:creator><description>[quote userid="80129" url="~/f/nordic-q-a/48184/problem-with-nrfx_check-nrfx_uart_enabled-when-trying-to-include-the-uart-driver-module-to-my-project/190981"]because I only want to include the absolutely essential files from SDK[/quote]
&lt;p&gt;As you are finding, &lt;em&gt;adding&lt;/em&gt;&amp;nbsp;components to a project is non-trivial.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Removing&lt;/em&gt; them is much easier!&lt;br /&gt;&lt;br /&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with NRFX_CHECK(NRFX_UART_ENABLED) when trying to include the UART driver module to my project</title><link>https://devzone.nordicsemi.com/thread/190981?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 07:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb608af9-a6dc-47c4-b83e-1aa8a41a7c1e</guid><dc:creator>Casper Kronborg Pedersen</dc:creator><description>&lt;p&gt;Thank you for replying to fast!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try and look through the UART example sdk_config.h file to find any inconsistent defines.&lt;/p&gt;
&lt;p&gt;I really want to avoid using an example with the UART already working because I only want to include the absolutely essential files from SDK.&lt;/p&gt;
&lt;p&gt;Also I will need to include many more drivers such as:&lt;/p&gt;
&lt;p&gt;- SPI&lt;/p&gt;
&lt;p&gt;- QSPI&lt;/p&gt;
&lt;p&gt;- I2C&lt;/p&gt;
&lt;p&gt;- USB&lt;/p&gt;
&lt;p&gt;and later the Softdevice for using Bluetooth Low energy (BLE)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with NRFX_CHECK(NRFX_UART_ENABLED) when trying to include the UART driver module to my project</title><link>https://devzone.nordicsemi.com/thread/190978?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 07:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc9dfec7-2ab9-4e3e-8a55-a965729db787</guid><dc:creator>awneil</dc:creator><description>[quote userid="80129" url="~/f/nordic-q-a/48184/problem-with-nrfx_check-nrfx_uart_enabled-when-trying-to-include-the-uart-driver-module-to-my-project"]Used the CMSIS Configurator java tool[/quote]
&lt;p&gt;FWIW, I find the config viewer/editor in Keil far superior. The free version is all you need:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45362/cmsis-configuration-wizard---option-highlighting/178343#178343"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45362/cmsis-configuration-wizard---option-highlighting/178343#178343&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Even when using SES for code development, I use the free Keil for viewing &amp;amp; editing sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with NRFX_CHECK(NRFX_UART_ENABLED) when trying to include the UART driver module to my project</title><link>https://devzone.nordicsemi.com/thread/190975?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 07:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d651020-728f-4c24-a4c5-c1be8aee110e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It&amp;#39;ll be that there&amp;#39;s more settings required in the &lt;strong&gt;sdk_config.h&lt;/strong&gt; file.&lt;/p&gt;
&lt;p&gt;I suggest that you take an example project with working UART, and see what other settings are used in its sdk_config.h&lt;/p&gt;
&lt;p&gt;Or just base your project on something which already has working UART support.&lt;/p&gt;
[quote userid="80129" url="~/f/nordic-q-a/48184/problem-with-nrfx_check-nrfx_uart_enabled-when-trying-to-include-the-uart-driver-module-to-my-project"]all of the code in nrfx_uart.c is grayed out because the line&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt; #if NRFX_CHECK(NRFX_UART_ENABLED)&lt;/span&gt;&lt;/strong&gt; [/quote]
&lt;p&gt;Using the&amp;nbsp;&lt;span&gt;example project with working UART, browse to find what is needed to enable that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The sdk_config.h is a constant cause of problems - possibly the biggest single cause of problems?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is really something that Nordic need to sort out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45366/missing-defines-in-generic-sdk_config-h/179930#179930"&gt;devzone.nordicsemi.com/.../179930&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>