<?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 printf() in qn908xcdk sample in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951646#M7640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to add printf() in qn908xcdk_wireless_examples_bluetooth_otap_client_att_freertos.&lt;/P&gt;&lt;P&gt;I just copy some code from&amp;nbsp;&lt;SPAN&gt;qn908xcdk_rtso_examples_freertos_hello. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I always get compile error "&lt;/SPAN&gt;undefined reference to `_printf'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to add printf() in&amp;nbsp;&lt;SPAN&gt;qn908xcdk_wireless_examples_bluetooth_otap_client_att_freertos ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use MCUXpresso IDE v11.0.1, QN9080SIP development kit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2019 20:09:03 GMT</pubDate>
    <dc:creator>toru148</dc:creator>
    <dc:date>2019-10-22T20:09:03Z</dc:date>
    <item>
      <title>printf() in qn908xcdk sample</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951646#M7640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to add printf() in qn908xcdk_wireless_examples_bluetooth_otap_client_att_freertos.&lt;/P&gt;&lt;P&gt;I just copy some code from&amp;nbsp;&lt;SPAN&gt;qn908xcdk_rtso_examples_freertos_hello. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I always get compile error "&lt;/SPAN&gt;undefined reference to `_printf'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to add printf() in&amp;nbsp;&lt;SPAN&gt;qn908xcdk_wireless_examples_bluetooth_otap_client_att_freertos ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use MCUXpresso IDE v11.0.1, QN9080SIP development kit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 20:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951646#M7640</guid>
      <dc:creator>toru148</dc:creator>
      <dc:date>2019-10-22T20:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: printf() in qn908xcdk sample</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951647#M7641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about debug console? See file fsl_debug_console.h/.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search function DbgConsole_Init() globally in SDK to see examples of how to use it. For example, check demo_apps\hello_world project, which does only a serial in/out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can check the project private_profile_client. And the usage of Serial_Print().&lt;/P&gt;&lt;P&gt;But in this case we need to define a print_buffer[], and use sprintf() if we want to print parameters via Serial_Print().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951647#M7641</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-23T05:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: printf() in qn908xcdk sample</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951648#M7642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/toru148@gmail.com"&gt;toru148@gmail.com&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this linker issue are two options:&lt;/P&gt;&lt;P&gt;1. using&amp;nbsp;SDK_DEBUGCONSOLE. For this we will have to enable this define from project options, like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93536iB95EAE45ABB3E9C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. using _printf based on the Redlib implementation:&lt;/P&gt;&lt;P&gt;For this let the SDK_DEBUGCONSOLE set to 0 and&amp;nbsp;remove&amp;nbsp;CR_INTEGER_PRINTF&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93760i73344688F159F092/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also take a look at the&amp;nbsp;SDK_DEBUGCONSOLE_UART define.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(here are also some details for a similar topic: &lt;A href="https://community.nxp.com/thread/389140"&gt;https://community.nxp.com/thread/389140&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ovidiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 12:40:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951648#M7642</guid>
      <dc:creator>ovidiu_usturoi</dc:creator>
      <dc:date>2019-10-24T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: printf() in qn908xcdk sample</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951649#M7643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2nd option worked for me. I got printf() message on Serial port monitor.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 23:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951649#M7643</guid>
      <dc:creator>toru148</dc:creator>
      <dc:date>2019-10-24T23:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: printf() in qn908xcdk sample</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951650#M7644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/toru148@gmail.com"&gt;toru148@gmail.com&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the issue is fixed, can you please close the ticket by using:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- mark an answer as correct:&lt;/P&gt;&lt;DIV class="" style="color: #51626f; border: 0px; font-size: 14px; margin: 0px 0px 0px 46px;"&gt;&lt;SPAN class="" style="color: #3d9ce7; border: 0px; font-weight: 500; font-size: 0.7857rem;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;A _jive_internal="true" class="" data-command="mark" data-content-finding="Community" data-object-id="1213147" data-object-type="2" data-type="correct" href="https://community.nxp.com/thread/514140" style="color: #606060; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.2); font-weight: 600; text-decoration: none; font-size: 0.8571rem; margin: 0px 0px 0px 15px; padding: 0px 15px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 11.9994px;"&gt;&lt;/SPAN&gt;Mark Correct&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;- &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/thread/514140" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 0.8571rem;"&gt;Mark as assumed answered&lt;/A&gt;&amp;nbsp;button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ovidiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2019 15:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/printf-in-qn908xcdk-sample/m-p/951650#M7644</guid>
      <dc:creator>ovidiu_usturoi</dc:creator>
      <dc:date>2019-10-27T15:09:19Z</dc:date>
    </item>
  </channel>
</rss>

