enable floating point

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

enable floating point

2,456 次查看
ronen_aharoni
Contributor I

I have port CodeWarrior 5.1 project to CodeWarrior 10.6 and I forgot to enable floating point so I am getting the following error

 

ERROR L1822: Symbol _FUFLOAT in file

 

Is there way to change project setting to enable floating point or I have to create new project ?

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

1,989 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Marius,

from your picture, you use HCS08, to enable floating support in CW10, please follow below screenshot captured in properties setting:

pastedImage_0.png

here ansifs.lib, small memory model, IEEE32 for both float and double.

for more lib information, see attached readme file.

can this help you?


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,989 次查看
marius_grigoras
NXP Employee
NXP Employee

Hi,

Can you please let me know your SoC/board used? And also the compiler (gcc or our in-house one)?

Thank you,

Marius

0 项奖励
回复

1,990 次查看
marius_grigoras
NXP Employee
NXP Employee

Hi,

From project properties use the settings from bellow picture to modify the FP:

pastedImage_0.png

Regards,

Marius

0 项奖励
回复

1,989 次查看
ronen_aharoni
Contributor I

Hello Marius

Thanks for helping

However I do not see the CPU section so I cannot do the setting as you describe

Best Regard

0 项奖励
回复

1,989 次查看
ronen_aharoni
Contributor I

Thank you Marius

I don't see the CPU section in my project  under setting

pastedImage_0.png

0 项奖励
回复