<?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 Re: Floating Point Operations in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124834#M211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Oh, Thank You so much!!! You're right, now I remember!!!! &lt;BR /&gt;&lt;BR /&gt;Well, now I'm gonna try that, if something goes wrong I'll ask You again.&lt;BR /&gt;&lt;BR /&gt;See You&lt;BR /&gt;&lt;BR /&gt;SebaS&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2006 19:38:25 GMT</pubDate>
    <dc:creator>SebaS</dc:creator>
    <dc:date>2006-07-26T19:38:25Z</dc:date>
    <item>
      <title>Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124832#M209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everybody!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I'm stuck again; but now it's about Floating Point Operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a Motorola HCS12 and I'm programming it with CodeWorrior (in C language), wich won't let me do any float point operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whe I compile my project, this errors flash:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Symbol _FADD in is undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Symbol _FMUL in is undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Symbol _FSFLOAT in is undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know much but I guess those missing symbols are the definitions of the routines that make such operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is: Where are (should be) those routines????? or Where can I get them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found (from an old project) the routines for HC11. But in there, the symbol's names where different. For example it says "__fpadd" instead of "_FADD" so I renamed it. [I still don't know if that works]. Same thing with "_FMUL". But I couldn't find the symbol "_FSFLOAT" or it alias. So I'm stuck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HELP!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 21:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124832#M209</guid>
      <dc:creator>SebaS</dc:creator>
      <dc:date>2006-07-25T21:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124833#M210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;You need to stipulate whether or not you need to use&amp;nbsp;floating point when you first create a project.&amp;nbsp; The new project wizard dialog should provide this option.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 22:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124833#M210</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-07-25T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124834#M211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Oh, Thank You so much!!! You're right, now I remember!!!! &lt;BR /&gt;&lt;BR /&gt;Well, now I'm gonna try that, if something goes wrong I'll ask You again.&lt;BR /&gt;&lt;BR /&gt;See You&lt;BR /&gt;&lt;BR /&gt;SebaS&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 19:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124834#M211</guid>
      <dc:creator>SebaS</dc:creator>
      <dc:date>2006-07-26T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124835#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;So you cant change that later on ?????&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 04:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124835#M212</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-23T04:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124836#M213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can do it but you have to manually adjust the settings.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically for HC12 you have to remove the option -D__NO_FLOAT__ from compiler command line and add floating point format option (if needed) then replace ansi library file.&lt;/DIV&gt;&lt;DIV&gt;To retrieve the appropriate ansi library file check the file readme.txt&amp;nbsp;from {Install}\lib\hc12c.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Re-creating the project with the wizard is just easier and avoid&amp;nbsp;any discrepancy between&amp;nbsp;compiler options and library file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124836#M213</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-23T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124837#M214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the Help Above!!!&lt;BR /&gt;&lt;BR /&gt;Now I'm working with a project that combines C and ASM and the startup code was done in ASM languaje (we didn't use the one that wizard made, because we wanted to have a little more control). How can we use floating point operation now? Because it keep saying that the symbol _FSUB (and many more) are undefined. What should I do? Which are the files or libraries that I've got to include or compile in my project?&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 22:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124837#M214</guid>
      <dc:creator>SebaS</dc:creator>
      <dc:date>2006-09-18T22:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Operations</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124838#M215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Messages _FSUB (and many more) are undefined are generated if you are linking your application with the wrong ansi library file or without ANSI library file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please check the file {Install}\lib\hc12c\readme.txt to determine which library file you need to add to your project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 17:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Floating-Point-Operations/m-p/124838#M215</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-09-20T17:03:09Z</dc:date>
    </item>
  </channel>
</rss>

