Floating point IO problem in MQX4.1 on K60F120M

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

Floating point IO problem in MQX4.1 on K60F120M

1,004 次查看
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 项奖励
回复
2 回复数

765 次查看
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 项奖励
回复

765 次查看
ARQuattr
Contributor IV

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

0 项奖励
回复