How to upgrade XC compiler in FC8

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
streammaster
Posts: 78
Joined: Mon Jul 31, 2017 11:14 am
Contact:

How to upgrade XC compiler in FC8

Post 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

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8877
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Contact:

Re: How to upgrade XC compiler in FC8

Post 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.
Attachments
pic_xc8V2.0_comp.bat
(316 Bytes) Downloaded 70 times
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

Post Reply