Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 26th July 2005, 05:47 PM   (permalink)
Default MPLAB C18 Libraries

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?
Exo is offline  
Reply With Quote
Old 26th July 2005, 06:00 PM   (permalink)
Default

which version are you using?

have you tried discussing this in the Microchip forums? http://forum.microchip.com/
samcheetah is offline  
Reply With Quote
Old 26th July 2005, 06:32 PM   (permalink)
Default

version 2.40

didn't ask it in MC's forum yet, thought i'd see what my favo forum had to say first
Exo is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:17 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.