So, does this mean that MPLAB IDE will use this field to determine what processor shall be used for the project?
To be honest, I don't know how MPLAB IDE v8 uses the device name in the project file.
For the #include thing, it might be better to put a check in the code. For instance
#error Select the correct device from the MPLAB IDE v8 Configure Menu
That way you can still use the macros defined at the bottom of the p32xxxx.h header. On the other hand, if you don't need those macros, it doesn't really matter.
P.S. Sorry for the lack of code tags in the snippet. The forum apparently doesn't like line breaks from my Mac.
post edited by JasonK - 2011/08/11 22:34:52