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?
Hi Angelo,
Please check the below thread,
I hope this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Soledad, I had seen that posting before, but I already had the library included and it didn't help.