I've started working on a stand-alone PBP header-wizard program and it's bringing some questions to light...

Right now it parses the .inc files for the selected PIC (if they're not in the default locations on you computer you have to set the paths). From the MPASM files it parses out all of the provided configuration settings, and from the PBP folder it parses out the current default configuration settings.

In thinking about where to go from here, there are at least a couple of chips that do not appear support any sort of _CONFIG. __config, or whatever statements. A prime example is the 18F67J50. You're forced to use something like, for example "CONFIG FOSC = HSPLL".

Now putting the line "@ CONFIG FOSC = HSPLL" in a blank program compiles just fine so long as the the CONFIG lines are remmed in the PBP include file. However, when it gets put at the top of a working program it causes all sorts of warnings and errors to appear and the configuration settings do not get transferred to the programmer.

So, is it even possible to put in-line config settings in this class of device? Is the only option to edit the PBP include file?

Thanks for your time...

Best Regards,
Paul