M52233 and CW 6.3 Special Edition floating point support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

M52233 and CW 6.3 Special Edition floating point support

1,150 Views
jjr
Contributor I
 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 ansi-prefix.cf.size.h
 
#if !(__COLDFIRE__ == 0x4080 && !__option(fp_library))
////#define _MSL_FLOATING_POINT     0
////#define _MSL_NO_MATH_LIB                    1
#define _MSL_FLOATING_POINT     1
#undef _MSL_NO_MATH_LIB
#endif
////#define _MSL_FLOATING_POINT_IO    0
#define _MSL_FLOATING_POINT_IO    1
 
 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 ?
 
 Thanks,
 John

 
Labels (1)
0 Kudos
1 Reply

216 Views
CrasyCat
Specialist III
Hello
 
Please take a look at following thread
 
 
The same topic is already discussed there.
 
CrasyCat
0 Kudos