<?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>Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48424/unknown-type-name-error-in-nrf_drv_uart-h</link><description>I am using nRF5SDKforThreadandZigbeev300d310e7 sdk for thread example simple_coap_client. I try to add uart module with simple_coap_client and i have added uart configuration in sdk_config.h. While compile the program i get unknown type name error in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jun 2019 04:54:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48424/unknown-type-name-error-in-nrf_drv_uart-h" /><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193981?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 04:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54e87c94-0dd6-48a0-90e5-922b8e7adf48</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;thanks for your clarification,&amp;nbsp;i will try in 7.80.4 version&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193941?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 15:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f186e4bb-6bcf-4580-9f3f-2f5a93c271d6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I tested with IAR 8.22 and got the same errors you did. With IAR 7.80.4, everything compiles correctly. Please verify that you are using this exact version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193775?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 04:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39d48945-c372-4ab4-af1b-5a656d68fd75</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;I used this version also i faced same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193686?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 13:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f3a5ae-2195-465b-86af-f25e27a139b3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I have not tested this version of IAR. In general, we recommend using the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/index.html?cp=5_1_0"&gt;versions that the SDK is tested against&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;The following toolchains/devices have been used for testing and verification:

 - ARM: MDK-ARM version 5.25
 - GCC: GCC ARM Embedded 7.2018q2.update
 - IAR: &lt;strong&gt;IAR Workbench 7.80.4&lt;/strong&gt;
 - SES: SES 4.12
 
Note: The selected GCC version has shown instabilities when using the Link Time Optimization feature, and using the feature is not recommended.

*****
Note for IAR 8 users:
(Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits).
 
To run a project using IAR 8, follow these intructions:
 - Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.
 - If the project contains one of the precompiled libraries listed below, replace it with the IAR 8 compatible alternative
   (there are no projects targeting nRF51 in this SDK).
 - Save the project.
 - When building the project, you might get the warning: &amp;quot;The header file &amp;#39;cmsis_iar.h&amp;#39; is obsolete and should not be used. [...]&amp;quot;.
    - The problem is described in DevZone post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h"&gt;devzone.nordicsemi.com/.../iar-ewarm-8-22-1-complains-about-cmsis_iar-h&lt;/a&gt;
      The solution is to remove all occurrences of #include &amp;lt;cmsis_iar.h&amp;gt;.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193522?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 04:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16c99a40-ff17-4f46-adfb-8e138703613c</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;i&amp;#39;m using 8.40 version for IAR. It is in default configuration in IAR i never changed so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193474?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 14:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c3eaf0d-5c9b-4c9e-9d3f-128c61bea8a8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which version of IAR are you using? Do you have any specific settings in your IAR configuration that makes it compile any project in C++ mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193278?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 02:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c3f4b3e-cb82-4355-a9f0-b5cb05a411eb</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;i never made any changes by default it shows that error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193260?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 20:02:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4377709-8367-45d8-b3c5-e6a94b7d52c4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;In general, we do not support C++ in the SDK,&amp;nbsp;besides include guards. Are you using C++14 in your project, or did you make any modifications to the project settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/193091?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 08:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96c9f81d-feb5-4cf2-a1a6-e4c0689a2f9c</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;the project running with segger embedded studio but if i use with IAR it shows too many C++14 library error.can you help me&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192864?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 09:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37bdfd8b-debf-449c-a72f-594f3686b602</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I have attached the project:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/simple_5F00_coap_5F00_client-_2D00_-uart.zip"&gt;devzone.nordicsemi.com/.../simple_5F00_coap_5F00_client-_2D00_-uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I noticed that the example initialize CLI with UART transport. This might be the reason why the UART_ENABLED=0 was set in the preprocessor definitions. I do not know how this example will react, as both CLI UART0 and app_uart on instance 1 is configured with the same pins. However, you should at least be able to test the example and use it as a reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192853?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 08:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92e2693-3aa5-4a40-8577-05772a808014</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;Can you please send the code which you have run successfully for my reference..if I run simple_coap_client in iar it shows 100 more errors for c++ library and in segger embedded studio I can&amp;#39;t find preprocessor symbol.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192850?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 08:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d659d924-e807-490e-bf8b-3dac4ddf0364</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you modify anything else in your sdk_config.h after you uploaded it here? I was able to compile the project with added UART source files with your sdk_config.h file from this post, after removing UART_ENABLED=0 from preprocessor defines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192615?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 09:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0d62f2-b26d-4866-b536-91372074ce3f</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;Now i have these 6 errors&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_drv_uart.c&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_baudrate_t&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_error_mask_t&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_hwfc_t&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_parity_t&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_task_t&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;unknown type name &amp;#39;nrf_uarte_event_t&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192487?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 18:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14002da3-f35c-4b5e-8585-58fc1829ac53</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please check out &lt;a href="https://www.youtube.com/watch?v=o_H1USWAM18"&gt;this video tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192466?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 15:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7953f98f-4352-4e67-8cb9-96741aa0d01b</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;can you please tell me how to remove preprocessor symbol in Segger Embedded Studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192461?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 15:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffee0931-08f0-4c07-a7d7-39ab371515c2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems that &amp;#39;UART_ENABLED=0&amp;#39; is defined in the preprocessor symbols in the project. Removing this seems to fix the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192194?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 04:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f648cada-36e2-4f4d-81a0-6cd6377103c2</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2553.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../2553.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have uploaded my sdk_config.h for your review, still i have same problem.Is it possible to use UART0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown type name error in nrf_drv_uart.h</title><link>https://devzone.nordicsemi.com/thread/192115?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 14:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0bb0e9-0db2-4a2e-94d0-add95756c278</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please make sure that at least one of these are set in your sdk_config.h file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define UART_EASY_DMA_SUPPORT 1
#define UART_LEGACY_SUPPORT 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Check the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/uart_example.html?cp=5_1_4_6_48"&gt;UART peripheral example&lt;/a&gt; for default config. If this does not help, please upload your sdk_config.h file for review.&lt;/p&gt;
&lt;p&gt;Also, you should only include either app_uart_fifo.c or app_uart.c, not both (normally, the FIFO version is used).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>