<?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>MPC5xxxのトピックRe: How can i use printf(using uart) on mpc5744</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519301#M3489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! It works!&lt;/P&gt;&lt;P&gt;I wander is there any book or document introduce about the "linker" thing of S32?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&amp;nbsp; i do not know the exact meaning of the &lt;STRONG&gt;&lt;EM&gt;following two lines(list follow)&lt;/EM&gt; &lt;/STRONG&gt;and also the &lt;STRONG&gt;&lt;EM&gt;"-Xlinker --undefined=__pformatterFP -Xlinker --defsym=__pformatter=__pformatterFP&lt;/EM&gt;&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;.stack (NOLOAD) : &lt;/SPAN&gt;&lt;STRONG style="color: #0099ff; font-family: Consolas; font-size: 10pt;"&gt;ALIGN&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;(16) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _end = . ;???????????????&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end = . ;???????????????&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += __HEAP_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP_END = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_end = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . +=&amp;nbsp; __STACK_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_addr = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SP_INIT = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; m_data&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 01:17:11 GMT</pubDate>
    <dc:creator>fyw</dc:creator>
    <dc:date>2016-06-17T01:17:11Z</dc:date>
    <item>
      <title>How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519288#M3476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The platform is S32(&lt;EM&gt;S32 Design Studio for Power Architecture, Version 1.0 build 151127&lt;/EM&gt;), now i can use uart send data to the &lt;SPAN style="text-align: justify; color: #666666; text-transform: none; line-height: 24px; text-indent: 0px; letter-spacing: normal; font-family: Tahoma, Arial, 宋体, 'Malgun Gothic'; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgba(255, 255, 255, 0.8); -webkit-text-stroke-width: 0px;"&gt;serial port terminal. if i want to use "printf" with uart, how should i configure the project?&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; color: #666666; white-space: normal; font-weight: normal; letter-spacing: normal; display: inline !important; font-size: 12pt; line-height: 24px; font-style: normal; font-stretch: normal; float: none; background-color: rgba(255, 255, 255, 0.8); text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-size-adjust: none; font-family: Tahoma, Arial, 宋体, 'Malgun Gothic'; text-align: justify;"&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; UART_SendData(&amp;amp;LINFlexD_X ,0xaa);&amp;nbsp; /* this is ok now*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf ("Characters: %c %c \n", 'a', 65);&amp;nbsp;&amp;nbsp;&amp;nbsp; /*build err here&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt; Description Resource Path Location Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;S32DS/e200_ewl/EWL_C/src/stdio/printf.c undefined reference to `__pformatter' Example_Base&amp;nbsp; line 44 C/C++ Problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 02:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519288#M3476</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-13T02:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519289#M3477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at the following example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329575"&gt;Example MPC5744P PinToggleStationery S32DS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, please feel free to write me back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 06:33:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519289#M3477</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-13T06:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519290#M3478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;now i find a strange problem &lt;/P&gt;&lt;P&gt;if i write like this:&lt;/P&gt;&lt;P&gt;printf("Best Regards, Technical Information Center\r\n");&amp;nbsp;&amp;nbsp; ---&amp;gt;It's OK!&lt;/P&gt;&lt;P&gt;but if i write like this:&lt;/P&gt;&lt;P&gt;printf("Best Regards &lt;STRONG&gt;%d&lt;/STRONG&gt;, Technical Information Center\r\n", &lt;STRONG&gt;0xAA&lt;/STRONG&gt;);&amp;nbsp;&amp;nbsp; ---&amp;gt; it reports an &lt;STRONG&gt;&lt;EM&gt;err&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"S32DS/e200_ewl/EWL_C/src/stdio/printf.c &lt;STRONG&gt;&lt;EM&gt;undefined reference to `__pformatter' &lt;/EM&gt;&lt;/STRONG&gt;Example_Base&amp;nbsp; line 44 C/C++ Problem"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i find even in the project"&lt;A _jive_internal="true" data-containerid="11363" data-containertype="14" data-content-finding="Community" data-objectid="329575" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329575" onclick=""&gt;Example MPC5744P PinToggleStationery S32DS&lt;/A&gt;", it also reports the same err&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 03:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519290#M3478</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-14T03:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519291#M3479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EWL library does contain only printf function, which accepts &lt;STRONG&gt;const char *&lt;/STRONG&gt; parameter. If you want to pass any other parameters like integer, float, etc.. you have to use NewLib library. This library can be chosen while you create a project (in project wizard) or you can change it in project settings (see figure below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60413i1ED9B0C53A5DF915/image-size/large?v=v2&amp;amp;px=999" 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;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519291#M3479</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-14T07:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519292#M3480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A _jive_internal="true" data-userid="250581" data-username="b55689" href="https://community.nxp.com/people/b55689"&gt;Martin Kovar&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I have tried this&lt;/P&gt;&lt;P&gt;(learn form this&amp;nbsp; &lt;A href="https://community.nxp.com/thread/382166"&gt;Linker errors when using the "new" operator&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;but i meet the same problem " sbrk.c:21: &lt;EM&gt;&lt;STRONG&gt;undefined reference to `end'&lt;/STRONG&gt; &lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;the author say " changed the heap size and &lt;EM&gt;&lt;STRONG&gt;added an "end" definition at the beginning of the heap section&lt;/STRONG&gt;&lt;/EM&gt;, it works just fine."&lt;/P&gt;&lt;P&gt;I donot know how "&lt;EM&gt;&lt;STRONG&gt;added an "end" definition at the beginning of the heap section&lt;/STRONG&gt;&lt;/EM&gt;"?&amp;nbsp; could you help me for that?&amp;nbsp; thank you very much! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519292#M3480</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-14T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519293#M3481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to change your linke file. In your project folder direct to Project_Settings and edit section.ld&lt;/P&gt;&lt;P&gt;Section .stack should look like that:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;.stack (NOLOAD) : ALIGN(16) &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;__HEAP = . ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;. += __HEAP_SIZE ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;__HEAP_END = . ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;_stack_end = . ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;. +=&amp;nbsp; __STACK_SIZE ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;_stack_addr = . ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;__SP_INIT = . ;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;. += 4;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;} &amp;gt; m_data&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:12:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519293#M3481</guid>
      <dc:creator>bdn</dc:creator>
      <dc:date>2016-06-14T09:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519294#M3482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It already look like this:&amp;nbsp;&amp;nbsp; but it still report the err&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;.stack (NOLOAD) : ALIGN(16) &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP = . ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += __HEAP_SIZE ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP_END = . ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_end = . ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . +=&amp;nbsp; __STACK_SIZE ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_addr = . ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SP_INIT = . ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += 4;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; m_data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, i find in the &lt;STRONG&gt;&lt;EM&gt;uart_console_io.c&lt;/EM&gt;&lt;/STRONG&gt; file,&amp;nbsp; the three include file(below) cann't be found.&amp;nbsp; I think this &lt;STRONG&gt;&lt;EM&gt;uart_console_io.c&lt;/EM&gt;&lt;/STRONG&gt; file is not suitable for&amp;nbsp; newlib&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;#include &amp;lt;ansi_parms.h&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;#include "console_io.h"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;#include &amp;lt;ewl_misra_types.h&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 03:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519294#M3482</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-15T03:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519295#M3483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following code for .stack section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;.stack (NOLOAD) : &lt;/SPAN&gt;&lt;STRONG style="color: #0099ff; font-size: 10.0pt; font-family: Consolas;"&gt;ALIGN&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;(16) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _end = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += __HEAP_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP_END = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_end = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . +=&amp;nbsp; __STACK_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_addr = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SP_INIT = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; m_data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 06:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519295#M3483</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-15T06:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519296#M3484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Martin Kovar! This works! &lt;/P&gt;&lt;P&gt;But i still have another problem. Since i choose the newlib, i find that the "&lt;STRONG&gt;&lt;EM&gt;uart_console_io.c&lt;/EM&gt;&lt;/STRONG&gt;" file doesn't work well.&amp;nbsp;&amp;nbsp; "&lt;STRONG&gt;&lt;EM&gt;uart_console_io.c&lt;/EM&gt;&lt;/STRONG&gt;" file has three include file :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include &amp;lt;ansi_parms.h&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include "console_io.h"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include &amp;lt;ewl_misra_types.h&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The three file could not be found. So add the path(you can see in the pic below)&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59729iF42C0D5638D34DFE/image-size/large?v=v2&amp;amp;px=999" title="无标题.png" alt="无标题.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that the project build OK. But when the program runs, i find that the&lt;EM&gt;&lt;STRONG&gt; printf can not send anything&lt;/STRONG&gt;&lt;/EM&gt;. &lt;/P&gt;&lt;P&gt;I put a breakpoint at function "__write_console", and find that the program doesnot stop at the function "__write_console".&lt;/P&gt;&lt;P&gt;So i guess that the &lt;EM&gt;&lt;STRONG&gt;printf does not call&lt;/STRONG&gt; "__write_console".&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Need other settings?&lt;/EM&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 09:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519296#M3484</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-15T09:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519297#M3485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;${VLE_NEWLIB_DIR}/newlib&lt;/P&gt;&lt;P&gt;-------------------------- where is this path?&amp;nbsp; I can not find in my computer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:58:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519297#M3485</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-16T00:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519298#M3486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for delay, but I have no experience with printf function using newlib library yet. Please give me a time, I will investigate, how it works and I will write you back if it is possible to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 06:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519298#M3486</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-16T06:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519299#M3487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 06:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519299#M3487</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-16T06:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519300#M3488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first, I would like to apologize for my previous claim. EWL library supports formaters like %d or %f. There is completely different issue, which can be easily fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the following line to the Linker flags:&lt;/P&gt;&lt;P&gt;-Xlinker --undefined=__pformatterFP -Xlinker --defsym=__pformatter=__pformatterFP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59515i3237E709487ECFBB/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it will work correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 11:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519300#M3488</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-16T11:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519301#M3489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! It works!&lt;/P&gt;&lt;P&gt;I wander is there any book or document introduce about the "linker" thing of S32?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&amp;nbsp; i do not know the exact meaning of the &lt;STRONG&gt;&lt;EM&gt;following two lines(list follow)&lt;/EM&gt; &lt;/STRONG&gt;and also the &lt;STRONG&gt;&lt;EM&gt;"-Xlinker --undefined=__pformatterFP -Xlinker --defsym=__pformatter=__pformatterFP&lt;/EM&gt;&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;.stack (NOLOAD) : &lt;/SPAN&gt;&lt;STRONG style="color: #0099ff; font-family: Consolas; font-size: 10pt;"&gt;ALIGN&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;(16) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _end = . ;???????????????&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end = . ;???????????????&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += __HEAP_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __HEAP_END = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_end = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . +=&amp;nbsp; __STACK_SIZE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _stack_addr = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SP_INIT = . ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . += 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; m_data&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 01:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519301#M3489</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-17T01:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519302#M3490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S32DS uses gcc compiler and linker and these are under GNU GPL license. So the documentation is public, please look at the following URLs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://sourceware.org/binutils/docs/ld/" title="https://sourceware.org/binutils/docs/ld/"&gt;https://sourceware.org/binutils/docs/ld/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;sqi=2&amp;amp;ved=0ahUKEwjWrKGm-LXNAhVjIMAKHV8ACAoQFggoMAE&amp;amp;url=http%3A%2F%2Fwww.eecs.umich.edu%2Fcourses%2Feecs373%2Freadings%2FLinker.pdf&amp;amp;usg=AFQjCNE67rr2z6jXfCL4LkCARPoIHHKdcg&amp;amp;bvm=bv.124817099,d.ZGg" title="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;sqi=2&amp;amp;ved=0ahUKEwjWrKGm-LXNAhVjIMAKHV8ACAoQFggoMAE&amp;amp;url=http%3A%2F%2Fwww.eecs.umich.edu%2Fcourses%2Feecs373%2Freadings%2FLinker.pdf&amp;amp;usg=AFQjCNE67rr2z6jXfCL4LkCARPoIHHKdcg&amp;amp;bvm=bv.124817099,d.ZGg"&gt;https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;sqi=2&amp;amp;ved=0ahUKEwjWrKGm-LXNAhVjIMAKHV8ACA…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About &lt;STRONG&gt;&lt;EM&gt;"-Xlinker --undefined=__pformatterFP -Xlinker --defsym=__pformatter=__pformatterFP&lt;/EM&gt;&lt;/STRONG&gt;", it is little bit complicated, but I will try to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call printf with some formatter, for example printf("%d",0xAA), function int_t _EWL_CDECL printf from printf.c file is called. In this function, __pformatter function is called. But this __pformatter calls function from stdio_api.h, which is not correct. Correct function, which has to be called is function __pformatterFP placed in&amp;nbsp; __printformat.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the linker flag says that there is undefined symbol __pformatterFP (part &lt;STRONG&gt;&lt;EM&gt;-Xlinker --undefined=__pformatterFP&lt;/EM&gt;&lt;/STRONG&gt;) and define symbol __pformatter as a __pformatterFP (part &lt;STRONG&gt;&lt;EM&gt;-Xlinker --defsym=__pformatter=__pformatterFP&lt;/EM&gt;&lt;/STRONG&gt; ). So from my point of view, symbol __pformatter is replaced by __pformatterFP. Now correct function is called and the program could be compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the end symbols, please look at the following URL:&lt;/P&gt;&lt;P&gt;&lt;A href="https://chromium.googlesource.com/native_client/nacl-newlib/+/99fc6c167467b41466ec90e8260e9c49cbe3d13c/libgloss/libnosys/sbrk.c" title="https://chromium.googlesource.com/native_client/nacl-newlib/+/99fc6c167467b41466ec90e8260e9c49cbe3d13c/libgloss/libnosys/sbrk.c"&gt;libgloss/libnosys/sbrk.c - native_client/nacl-newlib - Git at Google&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see that line 10 declares &lt;SPAN class="pln"&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="kwd"&gt;extern&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;char&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&amp;nbsp; end&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="com"&gt;/* Set by linker. */. &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="com"&gt;This is the symbol which has to be add to the linker file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="com"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="com"&gt;I hope it helps you a little bit, but if you have any other questions, please feel free to write me back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="com"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="com"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="com"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 07:22:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519302#M3490</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-20T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519303#M3491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 07:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/519303#M3491</guid>
      <dc:creator>fyw</dc:creator>
      <dc:date>2016-06-20T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use printf(using uart) on mpc5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/1852368#M25357</link>
      <description>&lt;P&gt;hi,fyw&lt;/P&gt;&lt;P&gt;can you gave me&amp;nbsp; your example.... (&lt;SPAN&gt;use uart send data to the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;serial port terminal)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cause i try many day... still not working for this functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please, thanks....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 09:24:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-i-use-printf-using-uart-on-mpc5744/m-p/1852368#M25357</guid>
      <dc:creator>gary1232</dc:creator>
      <dc:date>2024-04-23T09:24:51Z</dc:date>
    </item>
  </channel>
</rss>

