Hi,
Just a reminder that this has changed in PBP3, if that's what you have. There's no longer any need to edit .inc files etc, instead use #CONFIG/#ENDCONFIG to override the defaults. Also take a look a the DEVICE_REFERENCE folder of the PBP install folder, there you'll find a .INFO file for each supported PIC outlining the available configs etc. The .INFO is just a plain text file so you can open it Notepad or MCSP or whatever.
For example, here a config block for the 18F25K22 on a project of mine (requires PBP3)
Code:
#CONFIG
CONFIG FOSC = HSMP
CONFIG PLLCFG = ON
CONFIG PBADEN = OFF
CONFIG MCLRE = EXTMCLR
CONFIG LVP = OFF
CONFIG XINST = OFF
#ENDCONFIG
Obviously this doesn't contain ALL the CONFIGs - just the ones I was currently interested in. Again, very easy and flexible, no need to edit files etc.
/Henrik.
Bookmarks