Page 1 of 1

How to upgrade XC compiler in FC8

Posted: Fri Dec 14, 2018 1:55 am
by streammaster
Hi Guys,
Could somebody explain the procedure how to correctly upgrade the XC compiler in FC8?
I downloaded the XC8 compiler from Microchip web site and successfully installed it (version 2.00) however when I execute the compile from FC8 it runs the XC8.exe from FC8 compilers directory, and the version is old (1.45). However it is interesting that all versions of compiler are licenced (I have workstation PRO licence).
My understanding is that the instaling the tool chain installs the compiler and set all configuration in FC8. I'm not understanding if the tool chain contains actual compiler files, or it looks for installation on local PC and then it copy it to FC directory?

What I should do?

Regards,

Igor

Re: How to upgrade XC compiler in FC8

Posted: Fri Dec 14, 2018 10:15 am
by medelec35
Hi Igor,
streammaster wrote: However it is interesting that all versions of compiler are licenced (I have workstation PRO licence).
Yes, every version of XC8 will be covered by your license no matter the path, hence you see pro when compiling with Flowcode.
What you can do is edit the attached file and make sure the path for XC8 V2.0 is correct as you may have 32bit windows for example.
Save the file on your PC. You could make a New Batch folder for example.
Within Flowcode Select Build, Compiler options.
Select Browse, select Executable Files (*.exe) drop down and change to Batch Files (*.bat).
Navigate to the new batch file, select file.
After selecting OK, make sure you select the name for XC8 V2.0 compile
Click on Save icon then enter a Suitable name for XC8 V2.0 compiler and that you select the tick box Default compiler for the Platform C for PIC.
You should now be able to compile using the latest XC8 compiler.