(This is largely cross-posted from
https://www.microchip.com/forums/m1200895.aspx, but folks over here appear more attuned to this sort of thing...)
I've written and debugged a project using MPLAB.X V6.0.0 + Microchip Harmony 3. The resulting .text section seemed somewhat large, so I looked at the .map file and noticed a bunch of unexpected library functions -- notably _printf_float -- were included. (As far as I can tell, _printf_float drags in a boatload of other functions, like __pow5mult, _Balloc, _Bfree, etc).
I don't see any place in my code that I'm actually printing floating point number. Nor did I see any options in the Project => Properties => Conf => XC32 => xc32-ld or other places that would give me a trimmed-down version of printf(). (This was something that Microchip Studio offered...)
So: is there a way to either:
find what code I've written that triggers the loading of _printf_float, or
set some options that forces a trimmed-down library
?