Page 1 of 1

18F25K22 compiler error

Posted: Fri Mar 29, 2019 3:32 pm
by Lord Grezington
Hi all

Got some problems tryingto compile anything...

Below are the compiler messages, and I have also added the compiler settings

35: __config("__PROG_CONFIG", "pic18", 0x4, 0xFF);
^ (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1



FINISHED

Re: 18F25K22 compiler error

Posted: Fri Mar 29, 2019 4:36 pm
by medelec35
Hi,
Lord Grezington wrote:(1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
Go into the configuration settings and disable extended instruction set.