alirezasafdari:
Sorry krupski. I just stated what I have read and did not test it myself. I give it a shot now. Just one question, does the new files use heap? I am going to test it anyway but just wanted to know if they use heap.
They are not "new" files, you are simply tricking GCC into linking in the floating point code when it's actually trying to link in the "minimal" (non-floating point) code.
As far as "heap", I don't really know or care how GCC allocates memory. I only care that I have ENOUGH.
That's why I suggested to build the test program first, then see how much flash and ram it uses, then do the file rename trick to use the floating point code and build the exact same test program again and compare flash and ram usage.
If you like how it works and you feel the little extra memory usage is OK, then stick with it. If not, simply rename the files back to original and all is back to the way it was before.