Floating point IO problem in MQX4.1 on K60F120M

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

Floating point IO problem in MQX4.1 on K60F120M

1,003件の閲覧回数
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 返答(返信)

764件の閲覧回数
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 件の賞賛
返信

764件の閲覧回数
ARQuattr
Contributor IV

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

0 件の賞賛
返信