New compiler for Flowcode

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
psf
Posts: 45
Joined: Mon Jun 25, 2007 9:44 pm
Location: Italia
Has thanked: 6 times
Been thanked: 2 times
Contact:

New compiler for Flowcode

Post by psf »

Hi everyone, I'm still using Flowcode 5 and every time my project become a bit complex, compile is too long, recompile on a 18F25K22 takes > 1 minute...
I know that Hitec C request a fraction but it's not so compatible. (too much error). Anyone found a better compiler/linker? Thanks in advance.

User avatar
psf
Posts: 45
Joined: Mon Jun 25, 2007 9:44 pm
Location: Italia
Has thanked: 6 times
Been thanked: 2 times
Contact:

Re: New compiler for Flowcode

Post by psf »

Now I'm trying to use Mplab XC8 from microchip, the evolution of Hitech C. Any suggestion are welcome.Thanks :wink:

ABrosi
Flowcode v5 User
Posts: 13
Joined: Fri Apr 05, 2013 6:15 pm
Been thanked: 1 time
Contact:

Re: New compiler for Flowcode

Post by ABrosi »

Hi

I try to use xc8 too, did you find out something?

I get some problems at compile
I use Flowcode 6

Start des Compilers...
C:\Program Files (x86)\Microchip\xc8\v1.34\bin\picc18.exe --CHIP=18F23K22 -N48 "Flowcode6Test1.c" --CODEOFFSET=400h
C:\Program Files (x86)\Flowcode 6\CAL\internals.c:
63: #include <system.h>
^ (141) can't open include file "system.h": No such file or directory
Microchip MPLAB XC8 C Compiler (Free Mode) V1.34
Build date: Feb 16 2015
Part Support Version: 1.34
Copyright (C) 2015 Microchip Technology Inc.
License type: Node Configuration

(1273) Omniscient Code Generation not available in Free mode (warning)
(908) exit status = 1

C:\Program Files (x86)\Microchip\xc8\v1.34\bin\picc18.exe Hat den Fehlercode 1 gemeldet

Best Regards
A.Brosi

User avatar
psf
Posts: 45
Joined: Mon Jun 25, 2007 9:44 pm
Location: Italia
Has thanked: 6 times
Been thanked: 2 times
Contact:

Re: New compiler for Flowcode

Post by psf »

C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_SPI.c: FC_CAL_SPI_Master_Init_1()
234: SSPCON = prescale_1 & 0x03;
^ (192) undefined identifier "SSPCON"
235: SSPCON.CKP = (5 ^ 0x07) & 0x01;
^ (196) struct/union required
236: SSPSTAT.CKE = ((5 ^ 0x07) & 0x02) >> 1;
^ (196) struct/union required
237: SSPSTAT.SMP = ((5 ^ 0x07) & 0x04) >> 2;
^ (196) struct/union required
238: SSPCON.SSPEN = 1;
^ (196) struct/union required
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_SPI.c: FC_CAL_SPI_Master_Uninit_1()
266: SSPCON = 0;
^ (192) undefined identifier "SSPCON"
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_SPI.c: FC_CAL_SPI_Set_Prescaler_1()
383: SSPCON.SSPEN = 0;
^ (192) undefined identifier "SSPCON"
^ (196) struct/union required
386: SSPCON.SSPEN = 1;
^ (196) struct/union required
Display2.c: FCM_AumentaTempo()
6153: asm MOVLW 0x0b
^ (317) "(" expected
^ (318) string expected
^ (194) ")" expected
^ (312) ";" expected
Display2.c: FCM_ComponiCodice()
6355: FCI_SHEAD(FCV_CODICE,18, "0",1, FCV_CODICE,18);
^ (359) illegal conversion between pointer types (warning)
pointer to const unsigned char -> pointer to unsigned char
6372: FCI_SHEAD(FCV_CODICE,18, "1",1, FCV_CODICE,18);
^ (359) illegal conversion between pointer types (warning)
pointer to const unsigned char -> pointer to unsigned char
6389: FCI_SHEAD(FCV_CODICE,18, "2",1, FCV_CODICE,18);
^ (359) illegal conversion between pointer types (warning)
pointer to const unsigned char -> pointer to unsigned char
Display2.c: FCM_Batteria()
6430: asm movlw (0b10010000);
^ (317) "(" expected
^ (318) string expected
^ (194) ")" expected
^ (312) ";" expected
6431: asm movwf _vrefcon0;
^ (317) "(" expected
^ (318) string expected
^ (194) ")" expected
^ (312) ";" expected
Display2.c: 6431: too many errors (21)
Microchip MPLAB XC8 C Compiler (Free Mode) V1.34
Build date: Feb 16 2015
Part Support Version: 1.34
Copyright (C) 2015 Microchip Technology Inc.
License type: Node Configuration

Post Reply