<?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>Processor Expert Software中的主题 Re: FRDM-KE06Z printf with ConsoleIO not linking</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412797#M3334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, the custom sbrk() did it. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2015 18:25:14 GMT</pubDate>
    <dc:creator>samkreuze</dc:creator>
    <dc:date>2015-09-25T18:25:14Z</dc:date>
    <item>
      <title>FRDM-KE06Z printf with ConsoleIO not linking</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412795#M3332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to print to a console from my freedom board using printf. I've set up a project using mqxlite and processor expert. I set up a ConsoleIO component with a Serial_LDD component within it. I've generated the code and according to the guide I've been following (&lt;A href="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/"&gt;Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse)) &lt;/A&gt; I should be able to use printf over UART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I call printf in a task, the program crashes. Looking at the assembly I can see that it crashes when trying to branch to the printf function. I've tried cleaning and rebuilding the project; I get no errors nor warnings when building in regards to printf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Is there an example project somewhere for this board that has this figured out already?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 17:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412795#M3332</guid>
      <dc:creator>samkreuze</dc:creator>
      <dc:date>2015-09-25T17:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KE06Z printf with ConsoleIO not linking</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412796#M3333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;if using printf(), make sure you have plenty of stack allocated. Additionally, you might needs some heap too, depending on the toolchain and compiler. For example if you are using semihosting with the 4.9 ARM tools, you need to provide your own custom _sbrk() function, otherwise malloc() internally will return a NULL pointer and then the code in the library crashes. See&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2015/07/26/using-kinetis-design-studio-v3-0-0-with-the-launchad-4-9-2015-q2-release/" title="http://mcuoneclipse.com/2015/07/26/using-kinetis-design-studio-v3-0-0-with-the-launchad-4-9-2015-q2-release/"&gt;Using Kinetis Design Studio V3.0.0 with the Launchpad 4.9-2015-q2 Release | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2015/04/23/semihosting-with-gnu-arm-embedded-launchpad-and-kinetis-design-studio/" title="http://mcuoneclipse.com/2015/04/23/semihosting-with-gnu-arm-embedded-launchpad-and-kinetis-design-studio/"&gt;Semihosting with GNU ARM Embedded (Launchpad) and Kinetis Design Studio | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 18:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412796#M3333</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-09-25T18:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KE06Z printf with ConsoleIO not linking</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412797#M3334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, the custom sbrk() did it. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 18:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412797#M3334</guid>
      <dc:creator>samkreuze</dc:creator>
      <dc:date>2015-09-25T18:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KE06Z printf with ConsoleIO not linking</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412798#M3335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I get used to that kind of things.&lt;/P&gt;&lt;P&gt;Glad to hear that it is now working on your end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 18:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/FRDM-KE06Z-printf-with-ConsoleIO-not-linking/m-p/412798#M3335</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-09-25T18:40:50Z</dc:date>
    </item>
  </channel>
</rss>

