<?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>nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85405/nrf5-sdk-17-1-0-examples-is-not-compiling-in-latest-ses-6-20a</link><description>e.g, when compiling ble_app_hrs I get: 
 7&amp;gt; Compiling ‘cc310_backend_eddsa.c’ 4&amp;gt; C:\nRF\nRF5SDK\external\segger_rtt\SEGGER_RTT_Syscalls_SES.c:76:10: fatal error: __vfprintf.h: No such file or directory 4&amp;gt; 76 | #include &amp;quot;__vfprintf.h&amp;quot; 
 Should I downgrade</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jan 2023 02:52:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85405/nrf5-sdk-17-1-0-examples-is-not-compiling-in-latest-ses-6-20a" /><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/403957?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2023 02:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:033edce1-6b50-4886-a9c2-5cb1dde1d83a</guid><dc:creator>lengthnull</dc:creator><description>&lt;p&gt;I&amp;#39;m having the same issue and have reverted to v4.58&lt;/p&gt;
&lt;p style="padding-left:390px;"&gt;&lt;span style="color:#ffffff;font-size:75%;"&gt;&lt;a style="color:#ffffff;" href="https://happywheelsgame.io"&gt;happy wheels&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/394260?ContentTypeID=1</link><pubDate>Sun, 06 Nov 2022 01:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6456bb0b-5559-446e-9c84-8bc8c4fb6c2e</guid><dc:creator>nrf_user</dc:creator><description>&lt;p&gt;The solution for me was to add: LIBRARY_IO_TYPE=&amp;quot;RTT&amp;quot; to the .emProject file, in the configuration section. This was on line 31 for my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/373120?ContentTypeID=1</link><pubDate>Sun, 19 Jun 2022 17:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e9bfac-bd49-45e1-af75-57d6dd56873c</guid><dc:creator>bizzz3</dc:creator><description>&lt;p&gt;Thank you so much, it finally showed build success!&lt;/p&gt;
&lt;p&gt;Once I understood, there should be 3&amp;nbsp;lines of #endif&amp;nbsp; at the bottom @line 264&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/370761?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 18:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd62bddc-95cc-4942-8f89-b9f309ff45cd</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;This is the proper solution for SEGGER_RTT_Syscalls_SES.c&lt;/p&gt;
&lt;p&gt;you can only check for&amp;nbsp;__SEGGER_RTL_VERSION after including the h file.&lt;/p&gt;
&lt;p&gt;and remember to add #endif at the end of file (line 264)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;sdk_config.h&amp;quot;
#if !defined(RETARGET_ENABLED) || RETARGET_ENABLED == 0
#if (defined __SES_ARM) || (defined __CROSSWORKS_ARM)

#include &amp;quot;SEGGER_RTT.h&amp;quot;
#if !defined(__SEGGER_RTL_VERSION)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/367323?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 08:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5432185f-6c02-4a6e-8835-541ecaf599f6</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Another solution is to have&amp;nbsp;&lt;span&gt;RETARGET_ENABLED=1 defined.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/357755?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 17:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e3258c-f1ee-4a98-88a1-1bc905e2511b</guid><dc:creator>mconnor</dc:creator><description>&lt;p&gt;Hi Einor,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you the issue was how I removed the file from the project directory. I appreciate the quick response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/357537?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 07:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10c6dc01-18cf-4cde-8865-e5aa38324618</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Matt,&lt;/p&gt;
&lt;p&gt;From what I can see, the &lt;em&gt;only&lt;/em&gt; file in the&amp;nbsp;SDK that includes&amp;nbsp;__vfprintf.h is&amp;nbsp;SEGGER_RTT_Syscalls_SES.c. So you really should not get this error when you have removed&amp;nbsp;SEGGER_RTT_Syscalls_SES.c from the project. Looking at your log snippet it seems that SES is trying to find&amp;nbsp;SEGGER_RTT_Syscalls_SES.c, so apparently it has not been removed from the project or perhaps something is cached so that you need to clean all build output and try building again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/357516?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 00:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e39525a0-fc66-4a77-8a27-cbebb06bd952</guid><dc:creator>mconnor</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am having the same issue running the newest sdk 17.1 and SES 6.20. When I remove the file&amp;nbsp;&lt;span&gt;SEGGER_RTT_Syscalls_SES.c I get an error:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Building &amp;lsquo;ble_app_blinky_c_pca10040_s132&amp;rsquo; from solution &amp;lsquo;ble_app_blinky_c_pca10040_s132&amp;rsquo; in configuration &amp;lsquo;Debug&amp;rsquo;[0m&lt;br /&gt;1&amp;gt; Compiling &amp;lsquo;bsp_btn_ble.c&amp;rsquo;[0m&lt;br /&gt;2&amp;gt; Compiling &amp;lsquo;main.c&amp;rsquo;[0m&lt;br /&gt;4&amp;gt; Compiling &amp;lsquo;SEGGER_RTT.c&amp;rsquo;[0m&lt;br /&gt;3&amp;gt; Checking Source File Exists[0m&lt;br /&gt;3&amp;gt; C:/nRF5_SDK_17.1.0_ddde560/external/segger_rtt/SEGGER_RTT_Syscalls_SES.c does not exist.[0m&lt;br /&gt;Build failed[0m&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but when I do not remove the file I get the aforementioned issues already outlined here, namely, the vprintf.h issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I feel like I am in a catch-22 please help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Matt&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356994?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 20:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0ecd4ee-6ab8-4106-be35-c0fdc4964631</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The purpose of the file is to retarget printf etc. to RTT. Recent Segger Embedded Studio versions ship with this implementation as part of the toolchain so there is no need for the project to include it. The suggested preprocessor code that checks&amp;nbsp;__SEGGER_RTL_VERSION is needed if you want to make the project compatible both wth older and newer SES versions. If that is not needed, you can ignore it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356977?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 17:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f67529b5-e7da-4fee-9e8e-cb5cf8dc3028</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;I changed&amp;nbsp;retarget.c:99 from&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if defined(__SES_VERSION) &amp;amp;&amp;amp; (__SES_VERSION &amp;gt;= 34000)&lt;/pre&gt;&lt;br /&gt;to&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if defined(__SES_VERSION) &amp;amp;&amp;amp; (__SES_VERSION &amp;gt;= 34000) &amp;amp;&amp;amp; !defined(__SEGGER_RTL_VERSION)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356833?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 10:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3382be-e022-4bad-8334-5f4feb244f3a</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;also while build ble_app_uart example&lt;/p&gt;
&lt;p&gt;Building &amp;lsquo;ble_app_uart_pca10040_s132&amp;rsquo; from solution &amp;lsquo;ble_app_uart_pca10040_s132&amp;rsquo; in configuration &amp;lsquo;Debug&amp;rsquo;[0m&lt;br /&gt;8&amp;gt; Compiling &amp;lsquo;retarget.c&amp;rsquo;[0m&lt;br /&gt;8&amp;gt; D:\nRF5x\SDK_17.1.0\components\libraries\uart\retarget.c:101:23: error: unknown type name &amp;#39;__printf_tag_ptr&amp;#39;[0m&lt;br /&gt;8&amp;gt; 101 | int __putchar(int ch, __printf_tag_ptr tag_ptr)[0m&lt;br /&gt;8&amp;gt; | ^~~~~~~~~~~~~~~~[0m&lt;br /&gt;Build failed[0m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356813?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 10:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddd54a48-7280-458c-bb07-f0d6d85de7f2</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I am also having the same issue while i builf&amp;nbsp;&lt;strong&gt;&amp;quot;ble_app_blinky&amp;quot; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;__vfprintf.h: No such file or directory in segger v6.20&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;when i delete SEGGER_RTT_Syscalls_SES.c file from the project it build successful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can&amp;#39;t understand the purpose of this&amp;nbsp;SEGGER_RTT_Syscalls_SES.c&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;where it will use while debugging ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if i build the same project without&amp;nbsp;SEGGER_RTT_Syscalls_SES.c&amp;nbsp; in segger v5.68 . it build successful&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;where i want to use&amp;nbsp;&lt;strong&gt;&lt;em&gt;#if !defined(__SEGGER_RTL_VERSION) ... #endif&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356353?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 14:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af6991c5-5f11-44b0-92ff-3779723b0dfa</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;Thx for explanation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356325?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 13:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f0cd03-91c0-4ea1-a597-ed2345b3c006</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There has been a change in recent Segger Embedded Studio versions that require you to remove the&amp;nbsp;SEGGER_RTT_Syscalls_SES.c file from the project. With that, it should build as expected. For reference, this is mentioned in the &lt;a href="https://wiki.segger.com/Embedded_Studio_Library_IO"&gt;Embedded Studio Library IO documentation&lt;/a&gt;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;Note: Older projects might include SEGGER_RTT_Syscalls_SES.c or a similar file to override printf(). When using the SEGGER Runtime Library, this file should be removed from the project, or its content should be encapsulated with #if !defined(__SEGGER_RTL_VERSION) ... #endif&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK 17.1.0 examples is not compiling in latest SES (6.20a)</title><link>https://devzone.nordicsemi.com/thread/356311?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 13:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8fad621-7b0b-413a-956e-cb67b4ea81cf</guid><dc:creator>ask6483</dc:creator><description>&lt;p&gt;Same problem here and I have downgraded back to v5.68&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>