I found these:
E:\Mecanique\MCSP\MPASM\P16f877.inc
E:\Pic BASIC Pro 2.46\16F877.INC
E:\Pic BASIC Pro 2.46\M16F87X.INC <---- I would think I want to include this one.
So I tried this:
ASM
LIST
include 'M16F87x.INC' ; PM header
device pic16F877, xt_osc, wdt_on, pwrt_on, lvp_off, protect_off
XALL
NOLIST
ENDASM
And I get an error it cannot open file, include 'M16F87x.INC' not found.
In MicroCode Studio Plus, under tabs VIEW, EDITOR OPTIONS, the Default Source Folder points here:
E:\Pic BASIC Pro 2.46
I would have thought it would pick up the file that way.
EDIT: So I copied M16F87X.INC where I have my PIC program source, usually compilers look in their source folder first, but it can't find it anyways. It looks like it wants to find INCLUDE files somewhere specific, I just don't see any way to tell MCSP.
Bookmarks