John Reynolds

M52233 and CW 6.3 Special Edition floating point support

Discussion created by John Reynolds on Oct 10, 2007
Latest reply on Oct 12, 2007 by CrasyCat
 Hi , Im trying to get floating point enabled in my project running on a M52233, using CW 6.3 SE
In the project menu the floating point option is set to software, being there is no FPU in the chip, but
is greyed out. The manual say to include the appropriate libary to enable this option. I read though
the help and the CF build tool manual sections dealing with runtime librarys etc, but don't see how to
add/delete librarys. I read in a thread to set the following in
#if !(__COLDFIRE__ == 0x4080 && !__option(fp_library))
////#define _MSL_FLOATING_POINT     0
////#define _MSL_NO_MATH_LIB                    1
#define _MSL_FLOATING_POINT     1
////#define _MSL_FLOATING_POINT_IO    0
 and rebuilt the project, but still get the errors. Is there a document that describes how to go
about this ? I assume the default project is using the * SZ.a libs, which don't support FP. How do
I change this and use the standard type lib ?