<?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>CodeWarrior for MCUのトピックUndefined InitializeUART, ReadUARTN, WriteUARTN</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258372#M9873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked this question in the Coldfire forum and was told to ask it here.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I'm setting up a new C++ project for a Coldfire MCF52110. Codewarrior 10.2 without MQX.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Everything builds fine until I start including code from the EWL_C++ library - I then get three linker errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined InitializeUART Referenced from __init_uart_console&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined ReadUARTNReferenced from __read_console&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined WriteUARTNReferenced from __write_console&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I don't understand why these keep popping up, especially because the files that are getting referenced are getting compiled out using the _EWL_CONSOLE_SUPPORT define.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I've tried rebuilding the EWL project several times, that doesn't seem to help either.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I don't need or want console support. I don't want to provide my own functions because I have no need for them. How do I get rid of these linker errors?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Dan&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 14:09:02 GMT</pubDate>
    <dc:creator>dan_quist</dc:creator>
    <dc:date>2013-04-09T14:09:02Z</dc:date>
    <item>
      <title>Undefined InitializeUART, ReadUARTN, WriteUARTN</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258372#M9873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked this question in the Coldfire forum and was told to ask it here.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I'm setting up a new C++ project for a Coldfire MCF52110. Codewarrior 10.2 without MQX.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Everything builds fine until I start including code from the EWL_C++ library - I then get three linker errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined InitializeUART Referenced from __init_uart_console&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined ReadUARTNReferenced from __read_console&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Undefined WriteUARTNReferenced from __write_console&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I don't understand why these keep popping up, especially because the files that are getting referenced are getting compiled out using the _EWL_CONSOLE_SUPPORT define.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I've tried rebuilding the EWL project several times, that doesn't seem to help either.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I don't need or want console support. I don't want to provide my own functions because I have no need for them. How do I get rid of these linker errors?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Dan&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 14:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258372#M9873</guid>
      <dc:creator>dan_quist</dc:creator>
      <dc:date>2013-04-09T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined InitializeUART, ReadUARTN, WriteUARTN</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258373#M9874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same problem, have you had any luck?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 15:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258373#M9874</guid>
      <dc:creator>derekdrost</dc:creator>
      <dc:date>2013-05-16T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined InitializeUART, ReadUARTN, WriteUARTN</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258374#M9875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is strange error.&lt;/P&gt;&lt;P&gt;By default when you create a project, for some architecture you can select if you want add ConsoleIO.&lt;/P&gt;&lt;P&gt;In this case the project wizard will add some file supporting this feature.&lt;/P&gt;&lt;P&gt;The rule is that your project can use the Console component and you could display value using printf function for instance.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf ("Characters: %c %c \n", 'a', 65);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check if your application include the files &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;console_io_cf.c&amp;nbsp; and &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;exceptions.c &lt;/SPAN&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;By default the feature is enabled in &lt;/SPAN&gt;the Project properties, under C/C++ Build ¦ Settings ¦ Coldfire Compiler ¦ language settings, we must add the settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other flags: -define CONSOLE_IO_SUPPORT=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you provide more details regarding your project ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Undefined-InitializeUART-ReadUARTN-WriteUARTN/m-p/258374#M9875</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-05-17T12:07:24Z</dc:date>
    </item>
  </channel>
</rss>

