<?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 Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355893#M6735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to revive an old CodeWarrior HC08 V5.1 project written by someone else using the Development Studio for Microcontrollers V6.3.&amp;nbsp;&amp;nbsp; I am having compilation issues because the old project used the c function ultoa() which requires the extras_stdlib.h&amp;nbsp; file.&amp;nbsp;&amp;nbsp; However I am unable to locate this file anywhere either within the archive of the original V5.1 installation or the installation of V6.3 on my computer.&amp;nbsp; I can also not find this file anywhere on the Freescale website or anywhere on the web.&amp;nbsp; Also are there any other source files needed such as extras_stdlib.c?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;The CodeWarrior help system also mentions the _MSL_NEEDS_EXTRAS macro in relation to extras_stdlib.h, but I don't know if this is relevant to my situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2015 20:00:12 GMT</pubDate>
    <dc:creator>alanraphael</dc:creator>
    <dc:date>2015-02-06T20:00:12Z</dc:date>
    <item>
      <title>Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355893#M6735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to revive an old CodeWarrior HC08 V5.1 project written by someone else using the Development Studio for Microcontrollers V6.3.&amp;nbsp;&amp;nbsp; I am having compilation issues because the old project used the c function ultoa() which requires the extras_stdlib.h&amp;nbsp; file.&amp;nbsp;&amp;nbsp; However I am unable to locate this file anywhere either within the archive of the original V5.1 installation or the installation of V6.3 on my computer.&amp;nbsp; I can also not find this file anywhere on the Freescale website or anywhere on the web.&amp;nbsp; Also are there any other source files needed such as extras_stdlib.c?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;The CodeWarrior help system also mentions the _MSL_NEEDS_EXTRAS macro in relation to extras_stdlib.h, but I don't know if this is relevant to my situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 20:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355893#M6735</guid>
      <dc:creator>alanraphael</dc:creator>
      <dc:date>2015-02-06T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355894#M6736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What target device are you using? Is this CW v6.3 for MCU or CW v6.3 for Coldfire?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The built EWL libraries do not include extended functions, but I think the source is provided so you can &lt;STRONG&gt;1)&lt;/STRONG&gt; Rebuild the libraries or &lt;STRONG&gt;2)&lt;/STRONG&gt; Include the source file + header file in your project and build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case with CodeWarrior for MCUs v6.3, I found the &lt;STRONG&gt;ultoa()&lt;/STRONG&gt; function in the file "extras.c". The relevant files are in these paths:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\ColdFire_Support\ewl\EWL_C\src\extras\extras.c&lt;/P&gt;&lt;P&gt;- C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\ColdFire_Support\ewl\EWL_C\include\extras\extras.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can copy "extras.c" and "extras.h" to your project to have that function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS.&lt;/STRONG&gt; Please always post to a specialized space, such as &lt;A href="https://community.nxp.com/space/2031"&gt;Classic/Legacy CodeWarrior&lt;/A&gt;, otherwise your question has very low visibility for the community.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 21:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355894#M6736</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-02-06T21:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355895#M6737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorge,&lt;/P&gt;&lt;P&gt;Thanks, I am using CW v6.3 for MCU and I did find the files you referenced.&amp;nbsp; However when I copied them directly to my project, I got a bunch of new compile errors because the extras.c and extras.h both include (reference) a number of other .h files also in the extras directory which I really don't need.&amp;nbsp; Do I need to copy all the other files also or is there another way to reference those directories in the project.&amp;nbsp; My other option is to just extract the ultoa() code and copy it into the file which calls the routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 15:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355895#M6737</guid>
      <dc:creator>alanraphael</dc:creator>
      <dc:date>2015-02-09T15:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355896#M6738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I moved this post to the Classic/Legacy CodeWarrior space for better visibility.&amp;nbsp; As explained in my previous response, I copied extras.c and extras.h from Jorge Gonzalez's referenced directories into my own project, but then got a whole set of new compile errors.&amp;nbsp; I thought of just extracting the ultoa() code from extras.c directly into my source program, but I noticed it referenced a function called __ewl_strrev() which I can not find information on anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I inherited this project from another engineer who developed it on CodeWarrior V5.1.&amp;nbsp; I tried unsuccessfully to compile it under the original version copied to a new computer and when that failed, downloaded an evaluation version of&amp;nbsp; CodeWarrior V6.3 and had similar issues.&amp;nbsp; I am a hardware guy and not a programmer so I am trying to keep this effort as simple as possible since the original project consisted of only a handful of files targeted at a MC9S08QG8 in the 16 pin dip.&amp;nbsp; The goal is to work with the USBMULTILINKBDM pod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice here to handle the ultoa() issue as simple as possible? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 13:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355896#M6738</guid>
      <dc:creator>alanraphael</dc:creator>
      <dc:date>2015-02-10T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need extras_stdlib.h file to support ultoa() function for Classic/Legacy CodeWarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355897#M6739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the __ewl_strrev() function in the file "file_io.c", this file and its header are located on these paths:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\ColdFire_Support\ewl\EWL_C\src\file_io.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\ColdFire_Support\ewl\EWL_C\include\file_io.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 02:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Need-extras-stdlib-h-file-to-support-ultoa-function-for-Classic/m-p/355897#M6739</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-02-12T02:22:20Z</dc:date>
    </item>
  </channel>
</rss>

