AnsweredAssumed Answered

Floating point IO problem in MQX4.1 on K60F120M

Question asked by Angelo Quattrociocchi on Sep 24, 2014
Latest reply on Sep 25, 2014 by Angelo Quattrociocchi

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?

Outcomes