Floating point IO problem in MQX4.1 on K60F120M

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

Floating point IO problem in MQX4.1 on K60F120M

725 Views
ARQuattr
Contributor IV

We're trying to use atof() function in projects for the K60F120M tower board but it did not work even with MQX_INCLUDE_FLOATING_POINT_IO defined in the user_config.h file.  The libraries were all rebuilt but it doesn't recognize the function. 

We found that after changing _EWL_FLOATING_POINT to 1 (line 163 in C:\Freescale\CW MCU v10.6\MCU\ARM_GCC_Support\ewl\EWL_C\include\arm\ansi_prefix.ARM.h) and rebuilding it works, but this seems like it shouldn't be necessary.  Is there a better way to do this?

0 Kudos
Reply
2 Replies

486 Views
soledad
NXP Employee
NXP Employee

Hi Angelo,

Please check the below thread,

atof is not working

I hope this helps,


Have a great day,
Sol

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

0 Kudos
Reply

486 Views
ARQuattr
Contributor IV

Thanks Soledad, I had seen that posting before, but I already had the library included and it didn't help.

0 Kudos
Reply