enable floating point

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

enable floating point

2,181 Views
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 ?

Labels (1)
0 Kudos
5 Replies

1,714 Views
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,714 Views
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 Kudos

1,715 Views
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 Kudos

1,714 Views
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 Kudos

1,714 Views
ronen_aharoni
Contributor I

Thank you Marius

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

pastedImage_0.png

0 Kudos