Hi Tom, If the library aren't available, then you have no choice but to add the source manually. Just include the source for peripheral you're using. Also you might not need all of the function from the USART library, then just include what you'll be using. Normally, in some special circumstances, say if I want to change the implementation (sometime I have no choice, as the original one doesn't suit my usage) I will create a single file, say usart.c, then copy and paste all the sources that are needed to that file, then change it to suit my need. I have done this quite a lot of time, especially when I am doing I2C in C18. With this practice in mind when I did I2C in C30 recently, I have done the same. Best regards, WH Tan > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf > Of Thomas C. Sefranek > Sent: 06 June 2006 04:20 > To: 'Microcontroller discussion list - Public.' > Subject: RE: [PIC] C30 Linker Problem > > > If I include the source files for the peripherals I'm using: > For example, > DataRdyUART2.c > > It all compiles! No warnings or errors. > > Now I need to find out how your really supposed to do this! > I can't imagine I have to manually include all the source files for the > device, right? > > > Tom > > * > | __O Thomas C. Sefranek tcs@cmcorp.com > |_-\<,_ Amateur Radio Operator: WA1RHP > (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 > > ARRL Instructor, Technical Specialist, VE Contact. > http://hamradio.cmcorp.com/inventory/Inventory.html > http://www.harvardrepeater.org > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist