When compiling any code using the arduino IDE, and this code includes a bilbiotca.
This included library has "n" functions, but in code I only use "n - x" functions.
When compiling, does the code generated to be written to the arduino contain all the functions from the library or only the functions called by the code, (and the calls by the functions I called)?
I think only the ones I called, (and the calls by the functions I called), but when in doubt, I ask everyone.
Thinking about it some more, if the linker didn't drop unused functions, it would be a nightmare for anyone compiling for a low memory device. You would have people forking libraries left and right, trying to minimize the footprint for their needs, resulting in a confusing mess for anyone trying to get the functions required.