M52233 and CW 6.3 Special Edition floating point support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

M52233 and CW 6.3 Special Edition floating point support

1,267 次查看
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

 
标签 (1)
0 项奖励
回复
1 回复

333 次查看
CrasyCat
Specialist III
Hello
 
Please take a look at following thread
 
 
The same topic is already discussed there.
 
CrasyCat
0 项奖励
回复