FC7 Compiler

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

Moderator: Benj

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

FC7 Compiler

Post by Docara »

HI

Just a quick question

Can the XC compiler in FC be updated by downloading the newer version from Microchip and over installing?

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: FC7 Compiler

Post by kersing »

A newer version can be installed in a separate folder and pointed to in the compiler settings window, however changing the compiler may break things due to changes in the compiler. Overwriting the original compiler in the Flowcode 7 folders is not a good idea as it will break the uninstaller.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: FC7 Compiler

Post by medelec35 »

I have successfully set up Flowcode so it works with the latest XC8 version:

Code: Select all

http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Microchip\xc8\v1.38\bin\xc8.exe  --chip=16F1937 "StopWatch.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.38
Build date: Jun 30 2016
Part Support Version: 1.38
Copyright (C) 2016 Microchip Technology Inc.
License type: Node Configuration

C:\Program Files (x86)\Flowcode 7\CAL\internals.c: 72: (1090) variable "_FCI_TMP_INT" is not used (warning)
C:\Program Files (x86)\Flowcode 7\CAL\internals.c: 71: (1090) variable "_FCI_TMP_STR" is not used (warning)
.

Memory Summary:
    Program space        used   426h (  1062) of  2000h words   ( 13.0%)
    Data space           used    35h (    53) of   200h bytes   ( 10.4%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   1CBh bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 7\tools\DoNothing\DoNothing.exe  


FINISHED
I have tried both methods i.e changing compiler settings and overwriting files and both work.
I agree with kersing that changing compiler settings to a a separately installed compiler will be best.
If you need help then I can assist you further.

Martin
Martin

Post Reply