lpcware

How to trim the fat (Floating point)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by robert.palmer on Fri Apr 05 15:13:50 MST 2013
I'm trying to really trim down my code and I noticed in the map file that appears to indicate that, among other, fmul, fdiv, fsub, from float.o in libcr_eabihelpers.a are being linked in to my project.

Is there a way to prevent this?  I'm not using floating point, anywhere in my code.  I thought I had the correct library included to not link in printf, but maybe that's where it's coming from.  Or could it be from somewhere else?

Outcomes