Page 1 of 1

compiler option

Posted: Fri Dec 25, 2020 3:15 am
by seokgi
Good morning?
Happy Christmas. Are everyone having a relaxing Christmas?

I am using FC9.
I want to use the latest version of the compiler or download tool. However, if you change the directory, it will not compile or download. The latest version of XC8 is 2.31. The file included in FC9 is 1.45. Modern MCUs do not compile. Please suggest a solution. Please also XC16.

Thank you.

Happy christmas

Re: compiler option

Posted: Fri Dec 25, 2020 9:32 am
by Steve-Matrix
You will probably need an appropriate batch file to allow Flowcode to work with an alternative toolchain. If you download and install the toolchain from the flowcode.co.uk site, you will find the batch file off the root of its installation location and it might be enough to copy this folder to your alternative toolchain location and then point Flowcode at this alternative toolchain.

We're happy for you to use a different toolchain. However, we cannot guarantee that Flowcode will compile correctly on an alternative toolchain and we might not be able to support you if you run into problems.

Re: compiler option

Posted: Fri Dec 25, 2020 2:17 pm
by medelec35
I would be able to test all is working until tomorrow with Flowcode 9 & the latest XC8 compiler only.
If it works and you want help in setting it all up, then I can help you with that.

Re: compiler option

Posted: Sat Dec 26, 2020 1:29 pm
by medelec35
Just tested a v9 flowchart compiled with XC8 v2.31 using 12F1572 and compiles OK for me:

Code: Select all

C:\Flowcode Batch Files\XC8 v2.31.bat  12F1572 "C:\Users\MartinW\Downloads\" "Interrupt_Falling_Edge"

C:\Users\MartinW\Downloads>"C:\Program Files\Microchip\xc8\v2.31\bin\xc8-cc.exe" -mcpu=12F1572 "Interrupt_Falling_Edge.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os 

Memory Summary:
    Program space        used    C0h (   192) of   800h words   (  9.4%)
    Data space           used    19h (    25) of   100h bytes   (  9.8%)
    EEPROM space         None available
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Compilation successful!

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


FINISHED