Page 1 of 1

FC7 Compiler

Posted: Sun Jul 24, 2016 11:36 am
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?

Re: FC7 Compiler

Posted: Sun Jul 24, 2016 12:30 pm
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.

Re: FC7 Compiler

Posted: Sun Jul 24, 2016 1:47 pm
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