<?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 &amp;#39;__printf_tag_ptr&amp;#39; retarget.c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85545/unknown-type-name-__printf_tag_ptr-retarget-c</link><description>please help me i&amp;#39;m using ble_app_uart_pca10056_s140</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Jul 2025 07:55:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85545/unknown-type-name-__printf_tag_ptr-retarget-c" /><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/540974?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 07:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeafab5f-3259-4918-9195-d934f009db9b</guid><dc:creator>Ataei</dc:creator><description>&lt;p&gt;it removed the build error for me as well (nrf5sdk16 &amp;amp; ses8.24), but when running it on the device, it does not advertise and is invisible in nrf-connect ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/501482?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 07:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fecc1e71-c996-4a3c-80dc-f60322b4c571</guid><dc:creator>Charindu</dc:creator><description>&lt;p&gt;&lt;span&gt;Confirming that it worked for me, too&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/493411?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 12:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ceb7bb0-ee78-43cc-885d-795daf1a8af8</guid><dc:creator>Tizana</dc:creator><description>&lt;p&gt;worked (SDK 17.1.0 and SES 18.1)&lt;br /&gt;had another issue after trying this workaround (text section is larger than specified size) but i was able to fix it and now it work fine.&lt;br /&gt;fix of the file size :&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94689/stuck-at-building-blinky-example-text-is-larger-than-specified-size"&gt;devzone.nordicsemi.com/.../stuck-at-building-blinky-example-text-is-larger-than-specified-size&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/460436?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 19:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce4b49f-c965-4fe1-9bc6-4d57b74a38d3</guid><dc:creator>Victor Ruiz 26</dc:creator><description>&lt;p&gt;It also worked for me!&amp;nbsp;nRF5 SDK v17.1.0 and SES&amp;nbsp;Release 7.32 Build 2023081802.53976&lt;br /&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/449969?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 07:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e12aff8a-3a5b-432e-969d-063f726ce34b</guid><dc:creator>MRK-196</dc:creator><description>&lt;p&gt;Confirmed that is worked for me too (SDK 16 and SES 6.30). Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/439999?ContentTypeID=1</link><pubDate>Sat, 05 Aug 2023 11:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db26952a-783d-4b4e-9b36-014cb7882a7c</guid><dc:creator>RenanSP</dc:creator><description>&lt;p&gt;Confirming that it worked for me, too&lt;span&gt;&amp;nbsp;(SDK 17.1.0 and SES 7.30). Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/413377?ContentTypeID=1</link><pubDate>Sun, 05 Mar 2023 09:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85d94155-9784-4027-bc01-3dfcb64b303a</guid><dc:creator>Aoko</dc:creator><description>&lt;p&gt;Thanks. Correct ans.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/372455?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 21:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e540baec-31de-4f14-80ed-b45ca5577c5e</guid><dc:creator>ErickMCook</dc:creator><description>&lt;p&gt;I was able to resolve this error by using SES v 5.42a.&amp;nbsp; The build errors just went away!&lt;/p&gt;
&lt;p&gt;-Erick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/371980?ContentTypeID=1</link><pubDate>Sat, 11 Jun 2022 16:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484c5f50-f84f-486e-937b-50973fb4ec3b</guid><dc:creator>Daniel Slotcavage</dc:creator><description>&lt;p&gt;Just wanted to confirm that this worked for me, too (SDK 17.1.0 and SES 6.30).&amp;nbsp; Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/367012?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 16:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b78f8c49-757e-43fe-b67f-77b9556e7e45</guid><dc:creator>drdaddio</dc:creator><description>&lt;p&gt;YES!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This alone does not get it to work. But doing this (&lt;span&gt;Go to Project-&amp;gt;Options and then select Code-&amp;gt;Library. For &amp;quot;library I/O&amp;quot; select RTT&lt;/span&gt;) as well as changing to&amp;nbsp;&lt;span&gt;#define RETARGET_ENABLED&amp;nbsp;0 in the sdk_config.h file as indicated by bko. That is the magic sauce. Thanks to both of you!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/366794?ContentTypeID=1</link><pubDate>Sat, 07 May 2022 05:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:822b5378-8923-4b31-8ecb-9b70410d1673</guid><dc:creator>nayabk</dc:creator><description>&lt;p&gt;Go to Project-&amp;gt;Options and then select Code-&amp;gt;Library. For &amp;quot;library I/O&amp;quot; select RTT or another library.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357886?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 09:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b815f66-81de-4fd3-87c8-af6254d1d2db</guid><dc:creator>bko</dc:creator><description>&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using latest nRF SDK (e.g. v17.1.0) then rather install older SEGGER Embedded Studio Release 5.42a&lt;/p&gt;
&lt;p&gt;Rationale: latest SDK release notes state that &amp;quot;SES 5.42a&amp;quot; has been &amp;quot;used for testing and verification&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357859?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 09:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d696a819-eede-4be4-a0bd-73bcb632e0f6</guid><dc:creator>bko</dc:creator><description>&lt;p&gt;unfortunately nothing in that thread works for this case, I tried everything&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357857?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 09:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e7b1213-dda5-4e0f-aeaf-6021c4bc4c69</guid><dc:creator>bko</dc:creator><description>&lt;p&gt;I tried changing one line in sdk_config.h to this:&lt;span&gt;&amp;nbsp;&lt;/span&gt;#define RETARGET_ENABLED&amp;nbsp;0&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(instead of 1)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But then we get some linker errors like&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 6.20a/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi_balanced.a(fileops.o): in function `putchar&amp;#39;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;fileops.c:(.text.libc.putchar+0x0): undefined reference to `stdout&amp;#39;.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;...&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what else to try...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357120?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 11:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235a8e8f-89ce-499a-ab79-5da35f1b4104</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;span&gt;I just noticed that this is an already reported issue. See&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85405/nrf5-sdk-17-1-0-examples-is-not-compiling-in-latest-ses-6-20a/"&gt;this&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;thread for a solution.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357058?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 09:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5169e0f-2ad7-4d6c-a72a-304f71a1c4a8</guid><dc:creator>hansparson013</dc:creator><description>&lt;p&gt;its not working.. i&amp;#39;m already move SDK to C:/&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1646816607610v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357056?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 09:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b21ed5-431a-4459-98e3-5db835b86992</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It might be because the path length is too long. Windows has a max character length for the path. Try moving the SDK closer to the root folder. For example to the C:\&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/357013?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 03:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18a184cf-97bc-4cc0-8902-b00f2ce25b0a</guid><dc:creator>hansparson013</dc:creator><description>&lt;p&gt;hy thank for the respone,btw i&amp;#39;m using sdk 17&amp;nbsp; and use the NRF52833 Development kit, i&amp;#39;m also use Segger Embedded studio for programing. i&amp;#39;m not modified the code. i&amp;#39;m using ble_app_uart_pca10056_s140, i&amp;#39;m also using pca10100 for code but still not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unknown type name '__printf_tag_ptr' retarget.c</title><link>https://devzone.nordicsemi.com/thread/356853?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 11:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:427da8ec-bdb9-4669-b265-024446c0e8a5</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What SDK and SD version are you using?&lt;/p&gt;
&lt;p&gt;Have you modified the ble_app_uart example?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>