<?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: Implement debug output to ble example frdm-kw41z in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749712#M558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;Artem Kabakov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bluetooth_temperature_sensor doesn't have console output enabled by default since it is a low power enabled demo. You can check out the BLE temperature collector demo which enables a shell console and writes data with the&amp;nbsp;shell_write("...") function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While importing the BLE project, to use the UART for printing (instead of the default semihosting), clear the “&lt;STRONG&gt;Enable semihost&lt;/STRONG&gt;” checkbox under the project options. Then, click on &lt;STRONG&gt;Next&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Advanced Settings wizard, clear the checkbox &lt;STRONG&gt;“Redirect SDK “PRINTF” to C library “printf”&lt;/STRONG&gt;&amp;nbsp;in order to use the MCUXpresso SDK console functions for printing instead of generic C library ones. Then click on Finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2018 22:07:17 GMT</pubDate>
    <dc:creator>gerardo_rodriguez</dc:creator>
    <dc:date>2018-01-09T22:07:17Z</dc:date>
    <item>
      <title>Implement debug output to ble example frdm-kw41z</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749711#M557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I ran and tested hello_world project, debug output work. I'm trying to set up debug functionality in ble prj (MCUXpresso 10.0.2_411, SDK2.2_MKW41Z, frdmkw41z_wireless_examples_bluetooth_temperature_sensor) and have problem.&lt;BR /&gt;1) I added to linker script&amp;nbsp;GROUP (libcr_semihost_nf.a libcr_c.a libcr_eabihelpers.a) and&amp;nbsp;_pvHeapStart region.&lt;BR /&gt;2)Preprocessor:&lt;/P&gt;&lt;P&gt;CR_INTEGER_PRINTF&lt;/P&gt;&lt;P&gt;DEBUG&lt;/P&gt;&lt;P&gt;FRDM_KW41Z&lt;/P&gt;&lt;P&gt;FREEDOM&lt;/P&gt;&lt;P&gt;PRINTF_FLOAT_ENABLE=0&lt;/P&gt;&lt;P&gt;SCANF_FLOAT_ENABLE=0&lt;/P&gt;&lt;P&gt;PRINTF_ADVANCED_ENABLE=0&lt;/P&gt;&lt;P&gt;SCANF_ADVANCED_ENABLE=0&lt;/P&gt;&lt;P&gt;SDK_DEBUGCONSOLE=0&lt;/P&gt;&lt;P&gt;__MCUXPRESSO&lt;/P&gt;&lt;P&gt;__USE_CMSIS&lt;/P&gt;&lt;P&gt;CPU_MKW41Z512VHT4_cm0plus&lt;/P&gt;&lt;P&gt;CPU_MKW41Z512VHT4&lt;BR /&gt;__REDLIB__&lt;BR /&gt;3)Calling&amp;nbsp; &lt;BR /&gt;BOARD_InitPins();&lt;BR /&gt; BOARD_BootClockRUN();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;PRINTF("hello world.\r\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;nothing is output to the console.&amp;nbsp;What's wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 11:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749711#M557</guid>
      <dc:creator>artemkabakov</dc:creator>
      <dc:date>2017-12-27T11:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Implement debug output to ble example frdm-kw41z</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749712#M558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;Artem Kabakov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bluetooth_temperature_sensor doesn't have console output enabled by default since it is a low power enabled demo. You can check out the BLE temperature collector demo which enables a shell console and writes data with the&amp;nbsp;shell_write("...") function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While importing the BLE project, to use the UART for printing (instead of the default semihosting), clear the “&lt;STRONG&gt;Enable semihost&lt;/STRONG&gt;” checkbox under the project options. Then, click on &lt;STRONG&gt;Next&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Advanced Settings wizard, clear the checkbox &lt;STRONG&gt;“Redirect SDK “PRINTF” to C library “printf”&lt;/STRONG&gt;&amp;nbsp;in order to use the MCUXpresso SDK console functions for printing instead of generic C library ones. Then click on Finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 22:07:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749712#M558</guid>
      <dc:creator>gerardo_rodriguez</dc:creator>
      <dc:date>2018-01-09T22:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Implement debug output to ble example frdm-kw41z</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749713#M559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Gerardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to perform this step once project has already been imported please ? i already modificate and import a lot in my project but my console is still not working ... ( i have a compilation error on _printf not defined ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1067949?q=console"&gt;https://community.nxp.com/message/1067949?q=console&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 20:33:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Implement-debug-output-to-ble-example-frdm-kw41z/m-p/749713#M559</guid>
      <dc:creator>Olfox</dc:creator>
      <dc:date>2018-10-15T20:33:59Z</dc:date>
    </item>
  </channel>
</rss>

