Exo
Active Member
Hello,
When using microchips standard libraries included with the compiler (for usart, i²C,...) it seems to incorporate the entire library into the produced hex file , even if i only use 1 function..
For example, my program uses 200 program memory words, and i include a certain library but only use 1 function out of it, the compiler will put the entire library into my hex file, making my program 4000 words or so...
Does any1 know a way (command line switches? ) to make it only include the functions i call?
When using microchips standard libraries included with the compiler (for usart, i²C,...) it seems to incorporate the entire library into the produced hex file , even if i only use 1 function..
For example, my program uses 200 program memory words, and i include a certain library but only use 1 function out of it, the compiler will put the entire library into my hex file, making my program 4000 words or so...
Does any1 know a way (command line switches? ) to make it only include the functions i call?