<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to disable the SDK debug console? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607493#M6271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to disable this in your project without modification to the source files, you can use a pre-processor directive with your compiler to set SDK_DEBUGCONSOLE to 0 during compilation. Since the #define of SDK_DEBUGCONSOLE is wrapped in an #ifndef, it will only set SDK_DEBUGCONSOLE to 1 if you haven't defined the value elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html" title="https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html"&gt;https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html&lt;/A&gt; - Review the -D option for gcc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 00:31:49 GMT</pubDate>
    <dc:creator>Jmart</dc:creator>
    <dc:date>2016-10-21T00:31:49Z</dc:date>
    <item>
      <title>How to disable the SDK debug console?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607490#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using SDK 2.0, I wish to not use the debug console and instead write my own handling for serial ports...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the driver file fsl_common.c includes "fsl_debug_console.h". &amp;nbsp;fsl_debug_console.h defines&amp;nbsp;SDK_DEBUGCONSOLE which in turn defines PRINTF as&amp;nbsp;DbgConsole_Printf. &amp;nbsp;fsc_common.c calls PRINTF in its assert handler. &amp;nbsp;So, if&amp;nbsp;DbgConsole_Printf does not exist (ie dont include fsl_debug_console.c in the build), the SDK drivers can not compile.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 01:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607490#M6268</guid>
      <dc:creator>ashesman</dc:creator>
      <dc:date>2016-10-05T01:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable the SDK debug console?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607492#M6270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I don't want to mess with the SDK files to turn this off. &amp;nbsp;I cannot guarantee that someone wont replace these files with a newer SDK version in the future etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it would make more sense if it was a feature that needed to be turned on, rather than one that can not be turned off....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to leave NDEBUG not defined as I would like to keep the assert functions in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 03:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607492#M6270</guid>
      <dc:creator>ashesman</dc:creator>
      <dc:date>2016-10-06T03:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable the SDK debug console?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607493#M6271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to disable this in your project without modification to the source files, you can use a pre-processor directive with your compiler to set SDK_DEBUGCONSOLE to 0 during compilation. Since the #define of SDK_DEBUGCONSOLE is wrapped in an #ifndef, it will only set SDK_DEBUGCONSOLE to 1 if you haven't defined the value elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html" title="https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html"&gt;https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html&lt;/A&gt; - Review the -D option for gcc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 00:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607493#M6271</guid>
      <dc:creator>Jmart</dc:creator>
      <dc:date>2016-10-21T00:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable the SDK debug console?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607494#M6272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, good point. &amp;nbsp;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 21:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-disable-the-SDK-debug-console/m-p/607494#M6272</guid>
      <dc:creator>ashesman</dc:creator>
      <dc:date>2016-11-02T21:54:28Z</dc:date>
    </item>
  </channel>
</rss>

