compiler option

For general Flowcode discussion that does not belong in the other sections.
Post Reply
seokgi
Posts: 179
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

compiler option

Post 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

Steve-Matrix
Matrix Staff
Posts: 1269
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 283 times

Re: compiler option

Post 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.

medelec35
Matrix Staff
Posts: 1463
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 473 times

Re: compiler option

Post 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.
Martin

medelec35
Matrix Staff
Posts: 1463
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 473 times

Re: compiler option

Post 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
Martin

Post Reply