<?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>LPCXpresso IDE中的主题 Re: NewLib semihost printf</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528008#M757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by guillaumeL on Sat Jan 14 10:24:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently working on LPC1769&amp;nbsp; using RED suite 4 with newlib + semihost options. I found the solution. I have added the function fflush(stdout) after each printf to display each string I want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:13:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:13:20Z</dc:date>
    <item>
      <title>NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528005#M754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by guillaumeL on Fri Jan 13 07:48:41 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; In my project, I had printf function to add display in the console. I had all instructions decribe here &lt;/SPAN&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UsingPrintf&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; (MCU Linker - Target "Newlib (semihost)) but it still not work do you have an idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528005#M754</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528006#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Fri Jan 13 08:38:50 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Which MCU are we talking about?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Did you create this project with project wizard and semihosting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 Did you change SYMBOL settings?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#4 Did you try to create a new semihosting project and change it to NEWLIB?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528006#M755</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528007#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Fri Jan 13 09:12:50 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are trying to convert an existing example project to add in a printf, then this previous post might help...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showpost.php?p=11501&amp;amp;postcount=5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528007#M756</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528008#M757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by guillaumeL on Sat Jan 14 10:24:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently working on LPC1769&amp;nbsp; using RED suite 4 with newlib + semihost options. I found the solution. I have added the function fflush(stdout) after each printf to display each string I want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528008#M757</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528009#M758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by franku on Mon Jul 30 13:11:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip. :) Now it printfs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528009#M758</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: NewLib semihost printf</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528010#M759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Jul 31 00:20:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: guillaumeL&lt;/STRONG&gt;&lt;BR /&gt;I'm currently working on LPC1769&amp;nbsp; using RED suite 4 with newlib + semihost options. I found the solution. I have added the function fflush(stdout) after each printf to display each string I want.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that you aren't terminating the string being printed with a newline then (the text to be displayed gets buffered).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie use [FONT=Courier New][SIZE=2]printf ("Hello World\n");[/SIZE][/FONT] rather than [FONT=Courier New][SIZE=2]printf ("Hello World");[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/NewLib-semihost-printf/m-p/528010#M759</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:13:21Z</dc:date>
    </item>
  </channel>
</rss>

