<?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: printf() to UART Console in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1415972#M7824</link>
    <description>&lt;P&gt;Hello zhiqunhu,&lt;/P&gt;&lt;P&gt;I'm trying to do the same initialization but I stuck at "Advanced project settings". I use&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE v11.5.0 with 2.11.0 SDK Version (&lt;SPAN&gt;MK64FN1M0xxx12). I can't select 'Redirect print/scanf to UART' (it's not active) without checking 'Redirect SDK "PRINTF" to C library "printf"'. It would be nice to have possibility to use standard printf. I tried to set different library types and hosting variants but it didn't help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stnslv_0-1645184209455.png" style="width: 933px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171044i8DE5D787FE51E1AE/image-dimensions/933x428?v=v2" width="933" height="428" role="button" title="stnslv_0-1645184209455.png" alt="stnslv_0-1645184209455.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have some idea? Did I miss come setting?&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 11:48:57 GMT</pubDate>
    <dc:creator>stnslv</dc:creator>
    <dc:date>2022-02-18T11:48:57Z</dc:date>
    <item>
      <title>printf() to UART Console</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058262#M5716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have been worked a few projects with KDS and MCUXprosso, and currently using MCUXpresso 11.1.1 and Kinetis SDK 2.7, I found myself still having problems on how to use printf() to send data to a UART console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are three ways to configure a project regarding printf() to UART console&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="margin-left: 0in;"&gt;Create a new project from Quickstart Panel -&amp;gt; Create or import a project -&amp;gt; New project&lt;/LI&gt;&lt;LI style="margin-left: 0in;"&gt;Change the configuration from Quickstart Panel -&amp;gt; Miscellaneous -&amp;gt; Quick Settings&amp;gt;&amp;gt;&lt;/LI&gt;&lt;LI style="margin-left: 0in;"&gt;Make changes on Project -&amp;gt; Property -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Tool Settings -&amp;gt; Preprocessor&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is convenient to have multi-places for some key configurations, but it is confusing as well. For instance, you could have identical Preprocessor settings but projects behave in different ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the procedure to create a project with printf() which I have had problem with. And I cannot find any solid information on how to use standard IO library printf for uart console in MCUXpresso configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 1 – Create a new project from MCUXpresso Quick Panel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/116095i0643F10A33029C94/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 2 - Choose right SDK software components&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;case 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/116096iE6DAC2597B94FF54/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;case 2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116097iD5472D9BE2D82EE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;In my case, since I just use UART for connecting to Tera Term VT100 screen, so I simply do:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;1. Select FreeRTOS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;2. Select all Drivers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;3. Select all CMSIS Drivers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;4. On Utilities, I have done two ways:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;(1). Select none&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;(2). Select Serial manager shown above&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 3 - Advanced configurations (tried multi cases, got the same result)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;case 1: use Redlib (nohost)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116098i75C18BBDEAAD35D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;case 2: use NewlibNano (nohost)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116099iB07A898B9FBCE005/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 4 - Check the configurations from Project Property&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116100iE043B7AD799F09A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;It is confusing that the UART is not selected as I have done so in Step 2, but it can be reconfigured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116101iB4A08472C9461072/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I checked the configuration from Quicksettings, and it is correct here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 5 - Run the project and see the result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116102i75C28053C234E06F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Result: printf() did not send anything to the UART (without set SERIAL_PORT_TYPE_UART=1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;"MCUXpresso &amp;amp; Kinetis K64 MCU" shown in the console captured in the screenshot below is done by UART_WriteBlocking() for checking UART configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Step 6 - Modify Preprocessor by adding SERIAL_PORT_TYPE_UART=1, and run the project and see the same result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_15.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116103i76A176FE750F6343/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_15.png" alt="pastedImage_15.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Result is the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The UART can be read or written properly with other functions, but printf() cannot route information to the UART, and I have tried with different configurations and I am unable to make it work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The way I have made printf() work properly on UART/TeraTerm is via semihosting, which I not sure why I have to do that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;A project working properly should look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116104i54120FD8F05A5FD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116105iA8E109BE067FA5AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;What did I miss here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058262#M5716</guid>
      <dc:creator>zhiqunhu</dc:creator>
      <dc:date>2020-07-16T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: printf() to UART/Terminal</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058263#M5717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way to make PRINTF() work is to follow configurations below:&lt;/P&gt;&lt;P&gt;1. Step 1 is the same as that in previous post.&lt;/P&gt;&lt;P&gt;2. Step 2 Configure the project:&lt;/P&gt;&lt;P&gt;(1). Select RTOS, Drivers and CMSIS Drivers the same way as previous post.&lt;/P&gt;&lt;P&gt;(2). Select Utilities as the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116117i116287162BF13A2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note to select uart_adapter, otherwise you will get the error like this of missing uart.h file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116118iFA5E8D61E33FCAD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 3 - Advanced project settings&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116119iF7A7FF6853E9C59C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To check on Redirect printf/scanf to UART, you have to check at Redirect SDK "PRINTF" to C library "printf"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check SDK Debug Console from QuickSettings, you will see UART is not selected. And if you take a look at the Preprocessor, you will see SDK_DEBUGCONSOLE=0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116120i76C66D1F8433190E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the project and got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116121i22033A7A98E88BA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From assemble code, you can see PRINTF() is still using printf(), so that is why there is nothing to UART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to modify SDK_DEBUGCONSOLE=1, then build/run again and as can be seen from assembly code, right now PRINTF calls DbgConsole_Print(), so the string "Kinetis uProject: Ver" come to Tera Term console via UART.&lt;/P&gt;&lt;P&gt;&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/116122i82CA199AFE7C72E8/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;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 20:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058263#M5717</guid>
      <dc:creator>zhiqunhu</dc:creator>
      <dc:date>2020-07-16T20:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: printf() to UART Console</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058264#M5718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been using printf for UART console in a few projects with KDS and MCUXPresso IDE and SDK 2.6/2.7, but I did not document the procedure on how I did that and I could not replicate it recently in creating a new Kinetis project. After downloading MCUXpresso 11.2.0 and updated to the SDK 2.8, I decided to give it another try(I need to use printf/sprintf and other stdio functions instead of using PRINTF). This time I figured out how to do so and here are the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a new project for a device in MCUXpresso:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;1. Select FreeRTOS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;2. Select all Drivers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;3. Select all CMSIS Drivers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;4. Instead of selecting proper Utilities, I went to next:&amp;nbsp; Advanced project settings first:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57090i288318DAA2781876/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;As can been from screenshot below, you are able to check &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60678iA6F1E7E72B2347AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;without checking &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60686i45942F0B9DC723F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;, I checked &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61182i83A532ADC8C5F920/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;as well since I need to use floating point version of printf (this can be done later in Quick Settings).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61300i4A6AA2885DAE4590/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I go back to select Utilities:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61396i63716063B9BBB04E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, click Finish to create the new project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Settings -&amp;gt;Preprocessor, you should see the settings as below (If you see CR_INTEGER_PRINTF, remove it for floating point)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61398i4126A39A81E231C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, you should be able to use all standard library functions in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 17:49:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058264#M5718</guid>
      <dc:creator>zhiqunhu</dc:creator>
      <dc:date>2020-07-24T17:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: printf() to UART Console</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1415972#M7824</link>
      <description>&lt;P&gt;Hello zhiqunhu,&lt;/P&gt;&lt;P&gt;I'm trying to do the same initialization but I stuck at "Advanced project settings". I use&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE v11.5.0 with 2.11.0 SDK Version (&lt;SPAN&gt;MK64FN1M0xxx12). I can't select 'Redirect print/scanf to UART' (it's not active) without checking 'Redirect SDK "PRINTF" to C library "printf"'. It would be nice to have possibility to use standard printf. I tried to set different library types and hosting variants but it didn't help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stnslv_0-1645184209455.png" style="width: 933px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171044i8DE5D787FE51E1AE/image-dimensions/933x428?v=v2" width="933" height="428" role="button" title="stnslv_0-1645184209455.png" alt="stnslv_0-1645184209455.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have some idea? Did I miss come setting?&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 11:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1415972#M7824</guid>
      <dc:creator>stnslv</dc:creator>
      <dc:date>2022-02-18T11:48:57Z</dc:date>
    </item>
  </channel>
</rss>

