adding libraries

General questions about Firewing...

adding libraries

Postby demanik » Wed Apr 09, 2014 7:57 pm

Hello David.
Whether it is possible to disconnect automatic adding in the project of libraries Adc, Console and Pwm ?
Image
User avatar
demanik
 
Posts: 56
Joined: Sat Aug 17, 2013 5:53 pm
Location: Ukraine

Re: adding libraries

Postby David John Barker » Thu Apr 10, 2014 10:23 am

Not automatically, you have to remove or rename the "lib.imports" folder. For example, renaming "lib.imports" to "ignore.lib.imports" will remove automatically importing of modules. You shouldn't normally have to do this though - what are you trying to do?
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: adding libraries

Postby demanik » Thu Apr 10, 2014 10:43 am

If I do the libraries that there were no conflicts.
Image
User avatar
demanik
 
Posts: 56
Joined: Sat Aug 17, 2013 5:53 pm
Location: Ukraine

Re: adding libraries

Postby demanik » Thu Apr 10, 2014 11:06 am

demanik wrote:If I do the libraries that there were no conflicts.

for PIC18
Image
User avatar
demanik
 
Posts: 56
Joined: Sat Aug 17, 2013 5:53 pm
Location: Ukraine

Re: adding libraries

Postby David John Barker » Thu Apr 10, 2014 11:25 am

OK, so you want to re-write some of the libraries for PIC18? The safest approach is to create a new folder in your "UserLibrary", called "MCU08", like this

UserLibrary/MCU08

and put all you 8 bit libraries in that folder. Lets' say you wanted to create a new ADC library, then call the module something like "myADC" and save the file in the MCU08 folder as "myADC.bas". If you want to use the "ADC" module and filename, you will need to rename the entry in the "lib.imports" folder. If you use the same module or filename, you will have problems.

If you are writing for 16 and 32 bit code, create

UserLibrary/MCU16
UserLibrary/MCU32
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: adding libraries

Postby demanik » Thu Apr 10, 2014 11:36 am

Thanks. I understood.
Image
User avatar
demanik
 
Posts: 56
Joined: Sat Aug 17, 2013 5:53 pm
Location: Ukraine


Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest

x