enable floating point

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

enable floating point

2,302件の閲覧回数
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,835件の閲覧回数
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,835件の閲覧回数
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,836件の閲覧回数
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,835件の閲覧回数
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,835件の閲覧回数
ronen_aharoni
Contributor I

Thank you Marius

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

pastedImage_0.png

0 件の賞賛
返信