PIC16F project not compiling to HEX
Posted: Sun Feb 26, 2023 5:01 pm
Hi,
I imported my working FC9 project into FC10.
Now when compiling it to HEX i get an Error..
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe" --chip=16F18857 "V1.3_230207.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc --chip=16F18857 V1.3_230207.c --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10\V1.3_230207.h:
549: #warning WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed
^ (162) #warning: WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed (warning)
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10\V1.3_230207.h:
724: 0x0101
^ (195) expression syntax
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_RMT.c:
67: void FC_CAL_RMT_TX_1 (void);
(984) type redeclared ^
^ (1098) conflicting declarations for variable "FC_CAL_RMT_TX_1" (C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_RMT.c:67)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
It seems to be halted at the RMT CAL function.
It's not clear to me what kind of cal function this is!
I imported my working FC9 project into FC10.
Now when compiling it to HEX i get an Error..
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe" --chip=16F18857 "V1.3_230207.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc --chip=16F18857 V1.3_230207.c --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10\V1.3_230207.h:
549: #warning WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed
^ (162) #warning: WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed (warning)
D:\SC-Server\Projecten\xx\xx\Flowcode\V1.3_230207\FC10\V1.3_230207.h:
724: 0x0101
^ (195) expression syntax
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_RMT.c:
67: void FC_CAL_RMT_TX_1 (void);
(984) type redeclared ^
^ (1098) conflicting declarations for variable "FC_CAL_RMT_TX_1" (C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_RMT.c:67)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
It seems to be halted at the RMT CAL function.
It's not clear to me what kind of cal function this is!