#include SHOULD work! Make sure the project settings for directories for include files includes the actual location of these files. That seems to work for me. One thing that caused me problems recently is the location of prodefs.ld . To get my files away from all the object files in the project directory, I put the source files (including linker script) in a subdirectory. The linker script worked fine, but the include in it went to the project directory instead of the subdirectory. When the procdefs.ld was not there, it used the default file. This put my interrupt vector table in boot flash instead of application flash, totally messing stuff up. So, I've now put both the linker script and procdefs.ld in the project directory. I've also renamed my version of procdefs.ld (both the filename and the include in the linker script) so that if it is not found, it doesn't use something else. Good luck! Harold > > PS: it appears that: > > #include > > is not even included, as # is used for comments (!).. but if I open the > p32xxxx.h > file with a text editor I can see that is full of such #include's .. this > is puzzling: > different assembler is in use, options, or what? > > Thanks, > Mario > > >>Hello, >>I've tried as: >> >>#include >> >>and >> >>#include "p32xxxx.h" >> >>and >> >>.include >> >>and >> >>.include "p32xxxx.h" >> >>but it doesn't include it.. it includes it only if I use the full path >>and use / instead of \ (I'm on a Windows machine), but then it fails >>on the sub-includes of course. >> >>I've Set The Language Tool Locations, default search path for >>Assembler Include, where p32xxxx.h is physically located ( in my >>system it is C:\Utility\Coding\MPLab\MPLAB C32 Suite\pic32mx\include ) >>with and without a trailing ; but it doesn't include it. :( >> >>What can I do more? >> >>Thanks, >>Mario > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! Not sent from an iPhone. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .