![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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? |
|
|
|
|
|
|
(permalink) |
|
which version are you using?
have you tried discussing this in the Microchip forums? http://forum.microchip.com/
__________________
Beginner's Guide to Microcontrollers |
|
|
|
|
|
|
(permalink) |
|
version 2.40
didn't ask it in MC's forum yet, thought i'd see what my favo forum had to say first |
|
|
|
|