<?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>Compilation Error with RTT_CLI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56528/compilation-error-with-rtt_cli</link><description>Hi, 
 I&amp;#39;m trying to add RTT_CLI to my application : 
 //enable rtt cli NRF_CLI_RTT_DEF(m_cli_rtt_transport); NRF_CLI_DEF(m_cli_rtt,&amp;quot;rtt_cli:~$ &amp;quot;,&amp;amp;m_cli_rtt_transport.transport,&amp;#39;\n&amp;#39;,CLI_EXAMPLE_LOG_QUEUE_SIZE); ret_code_t ret = nrf_cli_init(&amp;amp;m_cli_rtt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 10:23:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56528/compilation-error-with-rtt_cli" /><item><title>RE: Compilation Error with RTT_CLI</title><link>https://devzone.nordicsemi.com/thread/229000?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 10:23:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58000016-71f8-4529-aa31-edbcdf66471d</guid><dc:creator>ran</dc:creator><description>&lt;p&gt;resolved by moving the define out of a function scope&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>