PICDEM.net2 PIC18F97J60 XC8 ROM definition invalid
I have a PICDEM.net 2 Development Board. CPU PIC18F97J60; I would like to make use of it.
The project is based on "C18-PIC18DN2_ENC28.mcp.
XC8 compiler version 2.05
I am using an old version of MPLABX V3.15. -I thought it more appropriate!
It's compiled with numerous warnings and faults; example warnings are
(1) no support for 64 bit integers.
(2) Redefining pre-processor macros.
The errors are mainly #include errors eg can't find file.
But there is one error that I can't clear.
It's definition is in compiler.h: #define ROM rom
Big ROM causes all sorts of mayhem as shown in the following example prototype.
void ICMPSendPingToHostROM( ROM BYTE * szRemoteHost);
The errors associated with this definition are:
(1) can’t mix prototyped and non-prototyped arguments.
(2) "," expected
(3) function body expected
I can't find any information on little "rom".
I don't know what to redefine big ROM as.
Commenting out big "ROM" in a function header removes
errors, but that can't be right.