<?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>In the &amp;quot;ble_app_uart&amp;quot; in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88484/in-the-ble_app_uart-in-the-ble_peripheral-showing-the-error</link><description>In the &amp;quot;ble_app_uart&amp;quot; in the ble_peripheral showing the error? 
 error is - 
 Building ‘ble_app_uart_pca10040_s132’ from solution ‘ble_app_uart_pca10040_s132’ in configuration ‘Debug’ Compiling ‘retarget.c’ unknown type name &amp;#39;__printf_tag_ptr&amp;#39; Build failed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Sep 2022 08:35:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88484/in-the-ble_app_uart-in-the-ble_peripheral-showing-the-error" /><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/388689?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 08:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfc0dfcc-518d-4034-b038-1653fdafddb7</guid><dc:creator>Shreekant Prasad</dc:creator><description>&lt;p&gt;I have put the definition for __printf_tag_ptr in stdio.h. This solved my problem.&lt;br /&gt;// Macro version of putchar.&lt;br /&gt;#ifndef __PRINTF_TAG_PTR_DEFINED&lt;br /&gt;#define __PRINTF_TAG_PTR_DEFINED&lt;br /&gt;typedef struct __printf_tag *__printf_tag_ptr;&lt;br /&gt;#endif&lt;br /&gt;int __putchar(int, __printf_tag_ptr);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370426?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 11:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:415ec6f8-d978-4d4a-9cc1-93197d1eac48</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You are right, this file (retarget.c) is broken with the latest SES. You might have to use the older version of the SES for this to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370411?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 11:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ab37363-114a-4a21-a485-ef1009363c49</guid><dc:creator>ShubMane</dc:creator><description>&lt;p&gt;segger embedded studio - 6.30 V&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370407?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 10:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258f9f24-f91f-42ae-9e01-6fc5c61c32f8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;which version of segger embedded studio are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I haveProgram Files\SEGGER\SEGGER Embedded Studio for ARM 5.62\include\stdio.h&lt;/p&gt;
&lt;p&gt;and I see that member declared here.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/stdio.h"&gt;devzone.nordicsemi.com/.../stdio.h&lt;/a&gt;&lt;/p&gt;
&lt;div style="left:26px;top:48.2px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370355?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 08:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41f86c08-4d47-469e-832d-b6a41f77ae94</guid><dc:creator>ShubMane</dc:creator><description>&lt;p&gt;As per your path, i have checked the path that is mentioned above of the stdio.h file, I have also attached the file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370334?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 06:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442ac574-b0de-470f-b4ae-ebe21f88ad77</guid><dc:creator>ShubMane</dc:creator><description>&lt;p&gt;please provide the right path for solution, i have checked the stdio.h file provided by u&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370333?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 06:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a40df451-eeae-43e5-9cc8-a6825e081067</guid><dc:creator>ShubMane</dc:creator><description>&lt;p&gt;hi team,&lt;/p&gt;
&lt;p&gt;I have checked __printf_tag_ptr is not declared in the SES path u mentioned&lt;pre class="ui-code" data-mode="text"&gt;/*********************************************************************
*                   (c) SEGGER Microcontroller GmbH                  *
*                        The Embedded Experts                        *
*                           www.segger.com                           *
**********************************************************************

-------------------------- END-OF-HEADER -----------------------------
*/

#ifndef __SEGGER_RTL_STDIO_H
#define __SEGGER_RTL_STDIO_H

/*********************************************************************
*
*       #include section
*
**********************************************************************
*/

#include &amp;quot;__SEGGER_RTL.h&amp;quot;

#ifdef __cplusplus
extern &amp;quot;C&amp;quot; {
#endif

/*********************************************************************
*
*       Defines, fixed
*
**********************************************************************
*/

#ifndef   NULL
  #define NULL      0
#endif

#ifndef   EOF
  #define EOF       (-1)
#endif

#ifndef   __SEGGER_RTL_VA_LIST_DEFINED
  #define __SEGGER_RTL_VA_LIST_DEFINED
  #define __va_list  __SEGGER_RTL_VA_LIST
#endif

/*********************************************************************
*
*       Seek modes
*
*  Description
*    Symbolic error names for seek modes.
*/
#define SEEK_SET    0    // Offset relative to position zero
#define SEEK_CUR    1    // Offset relative to current position
#define SEEK_END    2    // Offset relative to end of file

#define L_tmpnam    256
#define	_IOFBF 0 // setvbuf fully buffered
#define	_IOLBF 1 // setvbuf line buffered
#define	_IONBF 2 // setvbuf unbuffered


/*********************************************************************
*
*       Types
*
**********************************************************************
*/

#ifndef __SEGGER_RTL_SIZE_T_DEFINED
#define __SEGGER_RTL_SIZE_T_DEFINED
typedef __SEGGER_RTL_SIZE_T size_t;
#endif

#ifndef __SEGGER_RTL_FPOS_T_DEFINED
#define __SEGGER_RTL_FPOS_T_DEFINED
typedef long fpos_t;
#endif

#ifndef __SEGGER_RTL_FILE_DEFINED
#define __SEGGER_RTL_FILE_DEFINED
typedef struct __SEGGER_RTL_FILE_IMPL FILE;
#endif

#ifndef __SEGGER_RTL_LOCALE_T_DEFINED
#define __SEGGER_RTL_LOCALE_T_DEFINED
typedef struct __SEGGER_RTL_POSIX_locale_s *locale_t;
#endif

/*********************************************************************
*
*       Public data
*
**********************************************************************
*/

extern FILE *stdin;
extern FILE *stdout;
extern FILE *stderr;

/*********************************************************************
*
*       Prototypes
*
**********************************************************************
*/

int    putchar     (int __c);
int    getchar     (void);
int    puts        (const char *__s);
char * gets        (char *__s);
int    sprintf     (char *__s, const char *__format, ...);
int    sprintf_l   (char *__s, locale_t __loc, const char *__format, ...);                // POSIX extension
int    snprintf    (char *__s, size_t __n, const char *__format, ...);
int    snprintf_l  (char *__s, size_t __n, locale_t __loc, const char *__format, ...);    // POSIX extension
int    vsnprintf   (char *__s, size_t __n, const char *__format, __va_list __arg);
int    vsnprintf_l (char *__s, size_t __n, locale_t __loc, const char *__format, __va_list __arg);
int    printf      (const char *__format, ...);
int    printf_l    (locale_t __loc, const char *__format, ...);                           // POSIX extension
int    vprintf     (const char *__format, __va_list __arg);
int    vprintf_l   (locale_t __loc, const char *__format, __va_list __arg);               // POSIX extension
int    vsprintf    (char *__s, const char *__format, __va_list __arg);
int    vsprintf_l  (char *__s, locale_t __loc, const char *__format, __va_list __arg);    // POSIX extension
int    vasprintf   (char **__strp, const char *__format, __va_list __ap);                 // POSIX extension
int    vasprintf_l (char **__strp, locale_t __loc, const char *__format, __va_list __ap); // POSIX extension
int    asprintf    (char **__strp, const char *__format, ...);                            // POSIX extension
int    asprintf_l  (char **__strp, locale_t __loc, const char *__format, ...);            // POSIX extension
//
int    scanf       (const char *__format, ...);
int    scanf_l     (locale_t __loc, const char *__format, ...);
int    sscanf      (const char *__s, const char *__format, ...);
int    sscanf_l    (const char *__s, locale_t __loc, const char *__format, ...);
int    vscanf      (const char *__format, __va_list __arg);
int    vscanf_l    (locale_t __loc, const char *__format, __va_list __arg);
int    vsscanf     (const char *__s, const char *__format, __va_list __arg);
int    vsscanf_l   (const char *__s, locale_t __loc, const char *__format, __va_list __arg);

void   clearerr    (FILE *);
int    fclose      (FILE *);
int    feof        (FILE *);
int    ferror      (FILE *);
int    fflush      (FILE *);
int    fgetc       (FILE *);
int    fgetpos     (FILE *, fpos_t *);
char * fgets       (char *, int, FILE *);
int    fileno      (FILE *);
FILE * fopen       (const char *, const char *);
int    fprintf     (FILE *, const char *, ...);
int    fprintf_l   (FILE *, locale_t, const char *, ...);
int    vfprintf    (FILE *__stream, const char *__format, __va_list __arg);
int    vfprintf_l  (FILE *__stream, locale_t loc, const char *__format, __va_list __arg);
int    fputc       (int, FILE *);
int    fputs       (const char *, FILE *);
size_t fread       (void *, size_t, size_t, FILE *);
FILE * freopen     (const char *, const char *, FILE *);
int    fscanf      (FILE *, const char *, ...);
int    fscanf_l    (FILE *, locale_t, const char *, ...);
int    vfscanf     (FILE *, const char *, __va_list);
int    vfscanf_l   (FILE *, locale_t, const char *, __va_list);
int    fseek       (FILE *, long, int);
int    fsetpos     (FILE *, const fpos_t *); 
long   ftell       (FILE *);
size_t fwrite      (const void *, size_t, size_t, FILE *);
int    getc        (FILE *);
void   perror      (const char *);
int    putc        (int, FILE *);
int    remove      (const char *);
int    rename      (const char *, const char *);
void   rewind      (FILE *);
void   setbuf      (FILE *, char *);
int    setvbuf     (FILE *, char *, int, size_t);
FILE * tmpfile     (void);
char * tmpnam      (char *);
int    ungetc      (int, FILE *);

//
// Posix extensions
//

int    dprintf   (int, const char *, ...);
int    vdprintf  (int, const char *, __va_list);
FILE * fdopen    (int, const char *);

#ifdef __cplusplus
}
#endif

#endif

/*************************** End of file ****************************/&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370330?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 06:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbce2362-0ea2-436f-bac5-ab40965efe8c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;__printf_tag_ptr is declared in the stdio.h header from your SES installation folder (most likely in \Program Files\SEGGER\SEGGER Embedded Studio for ARM x.xx\include\stdio.h)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In the "ble_app_uart" in the ble_peripheral showing the error?</title><link>https://devzone.nordicsemi.com/thread/370328?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 06:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f58391-0b12-48fa-ac7b-d8e51d4efd83</guid><dc:creator>ShubMane</dc:creator><description>&lt;p&gt;hi team,&lt;/p&gt;
&lt;p&gt;Segger embedded studio version - V 6.30&lt;/p&gt;
&lt;p&gt;SDK version is - the 17.1.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>