<?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>How do I resolve SEGGER_RTT_printf &amp;quot;warning:  #192-D: unrecognized character escape sequence&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15447/how-do-i-resolve-segger_rtt_printf-warning-192-d-unrecognized-character-escape-sequence</link><description>I have searched here on the DevZone, and also around the web, and don&amp;#39;t see this issue mentioned elsewhere. I really appreciate any help finding a solution. 
 I tried following the instructions in the second half of the NordicSemi tutorial for &amp;quot;More</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Aug 2016 16:28:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15447/how-do-i-resolve-segger_rtt_printf-warning-192-d-unrecognized-character-escape-sequence" /><item><title>RE: How do I resolve SEGGER_RTT_printf "warning:  #192-D: unrecognized character escape sequence"</title><link>https://devzone.nordicsemi.com/thread/58972?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 16:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15e4582f-df9b-4dc8-af8c-7549fb58f4b9</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;Keil compiler has different set of escape characters. It doesn&amp;#39;t understand &lt;code&gt;\e&lt;/code&gt;. Change your color definitions in &lt;code&gt;SEGGER_RTT.h&lt;/code&gt; so they look like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;//
// Control sequences, based on ANSI.
// Can be used to control color, and clear the screen
//
#if defined ( __CC_ARM ) //Keil uses different escape character

#define RTT_CTRL_RESET                &amp;quot;\x1B[0m&amp;quot;         // Reset to default colors
#define RTT_CTRL_CLEAR                &amp;quot;\x1B[2J&amp;quot;         // Clear screen, reposition cursor to top left

#define RTT_CTRL_TEXT_BLACK           &amp;quot;\x1B[2;30m&amp;quot;
#define RTT_CTRL_TEXT_RED             &amp;quot;\x1B[2;31m&amp;quot;
#define RTT_CTRL_TEXT_GREEN           &amp;quot;\x1B[2;32m&amp;quot;
#define RTT_CTRL_TEXT_YELLOW          &amp;quot;\x1B[2;33m&amp;quot;
#define RTT_CTRL_TEXT_BLUE            &amp;quot;\x1B[2;34m&amp;quot;
#define RTT_CTRL_TEXT_MAGENTA         &amp;quot;\x1B[2;35m&amp;quot;
#define RTT_CTRL_TEXT_CYAN            &amp;quot;\x1B[2;36m&amp;quot;
#define RTT_CTRL_TEXT_WHITE           &amp;quot;\x1B[2;37m&amp;quot;

#define RTT_CTRL_TEXT_BRIGHT_BLACK    &amp;quot;\x1B[1;30m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_RED      &amp;quot;\x1B[1;31m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_GREEN    &amp;quot;\x1B[1;32m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_YELLOW   &amp;quot;\x1B[1;33m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_BLUE     &amp;quot;\x1B[1;34m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_MAGENTA  &amp;quot;\x1B[1;35m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_CYAN     &amp;quot;\x1B[1;36m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_WHITE    &amp;quot;\x1B[1;37m&amp;quot;

#define RTT_CTRL_BG_BLACK             &amp;quot;\x1B[24;40m&amp;quot;
#define RTT_CTRL_BG_RED               &amp;quot;\x1B[24;41m&amp;quot;
#define RTT_CTRL_BG_GREEN             &amp;quot;\x1B[24;42m&amp;quot;
#define RTT_CTRL_BG_YELLOW            &amp;quot;\x1B[24;43m&amp;quot;
#define RTT_CTRL_BG_BLUE              &amp;quot;\x1B[24;44m&amp;quot;
#define RTT_CTRL_BG_MAGENTA           &amp;quot;\x1B[24;45m&amp;quot;
#define RTT_CTRL_BG_CYAN              &amp;quot;\x1B[24;46m&amp;quot;
#define RTT_CTRL_BG_WHITE             &amp;quot;\x1B[24;47m&amp;quot;

#define RTT_CTRL_BG_BRIGHT_BLACK      &amp;quot;\x1B[4;40m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_RED        &amp;quot;\x1B[4;41m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_GREEN      &amp;quot;\x1B[4;42m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_YELLOW     &amp;quot;\x1B[4;43m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_BLUE       &amp;quot;\x1B[4;44m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_MAGENTA    &amp;quot;\x1B[4;45m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_CYAN       &amp;quot;\x1B[4;46m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_WHITE      &amp;quot;\x1B[4;47m&amp;quot;

#else
#define RTT_CTRL_RESET                &amp;quot;\e[0m&amp;quot;         // Reset to default colors
#define RTT_CTRL_CLEAR                &amp;quot;\e[2J&amp;quot;         // Clear screen, reposition cursor to top left

#define RTT_CTRL_TEXT_BLACK           &amp;quot;\e[2;30m&amp;quot;
#define RTT_CTRL_TEXT_RED             &amp;quot;\e[2;31m&amp;quot;
#define RTT_CTRL_TEXT_GREEN           &amp;quot;\e[2;32m&amp;quot;
#define RTT_CTRL_TEXT_YELLOW          &amp;quot;\e[2;33m&amp;quot;
#define RTT_CTRL_TEXT_BLUE            &amp;quot;\e[2;34m&amp;quot;
#define RTT_CTRL_TEXT_MAGENTA         &amp;quot;\e[2;35m&amp;quot;
#define RTT_CTRL_TEXT_CYAN            &amp;quot;\e[2;36m&amp;quot;
#define RTT_CTRL_TEXT_WHITE           &amp;quot;\e[2;37m&amp;quot;

#define RTT_CTRL_TEXT_BRIGHT_BLACK    &amp;quot;\e[1;30m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_RED      &amp;quot;\e[1;31m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_GREEN    &amp;quot;\e[1;32m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_YELLOW   &amp;quot;\e[1;33m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_BLUE     &amp;quot;\e[1;34m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_MAGENTA  &amp;quot;\e[1;35m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_CYAN     &amp;quot;\e[1;36m&amp;quot;
#define RTT_CTRL_TEXT_BRIGHT_WHITE    &amp;quot;\e[1;37m&amp;quot;

#define RTT_CTRL_BG_BLACK             &amp;quot;\e[24;40m&amp;quot;
#define RTT_CTRL_BG_RED               &amp;quot;\e[24;41m&amp;quot;
#define RTT_CTRL_BG_GREEN             &amp;quot;\e[24;42m&amp;quot;
#define RTT_CTRL_BG_YELLOW            &amp;quot;\e[24;43m&amp;quot;
#define RTT_CTRL_BG_BLUE              &amp;quot;\e[24;44m&amp;quot;
#define RTT_CTRL_BG_MAGENTA           &amp;quot;\e[24;45m&amp;quot;
#define RTT_CTRL_BG_CYAN              &amp;quot;\e[24;46m&amp;quot;
#define RTT_CTRL_BG_WHITE             &amp;quot;\e[24;47m&amp;quot;

#define RTT_CTRL_BG_BRIGHT_BLACK      &amp;quot;\e[4;40m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_RED        &amp;quot;\e[4;41m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_GREEN      &amp;quot;\e[4;42m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_YELLOW     &amp;quot;\e[4;43m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_BLUE       &amp;quot;\e[4;44m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_MAGENTA    &amp;quot;\e[4;45m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_CYAN       &amp;quot;\e[4;46m&amp;quot;
#define RTT_CTRL_BG_BRIGHT_WHITE      &amp;quot;\e[4;47m&amp;quot;

#endif
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>