Newbie compile errors.
Posted: Tue Nov 13, 2018 12:46 pm
First time attempt at Flowcode. It is producing multiple errors so I could be miles off.
The idea is to produce some different tones from an alarm board out of my scrap box, I have have chosen a 12F629 as it has the same pin count as the original 12c508. It works fine on simulation, one uncertainty is with the switch as I have only got bits 0 to 5 to read on the port I have used 6 bits in the condition (0bxxxxxx).
Target folder: C:\Users\Owner\DOCUME~1
Source name: C:\Users\Owner\Documents\sounder_12F629.fcfx
Title:
Description:
Device: PIC.12F.12F629
Generated by: Flowcode v8.0.0.6
Date: Tuesday, November 13, 2018 10:39:45
Users: 1
Registered to: ianjoh
License key: DTHTBY
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat 12F629 "C:\Users\Owner\DOCUME~1\" "sounder_12F629"
C:\Users\Owner\DOCUME~1>C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=12F629 "sounder_12F629.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 85: non-reentrant function "_delay_us" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 152: non-reentrant function "_FCI_DELAYINT_US" appears in multiple call graphs and has been duplicated by the compiler
sounder_12F629.c: 744: non-reentrant function "_FCD_0ba81_PiezoSounder1__BuzzerOnDelay" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\fltol.c: 43: non-reentrant function "___fltol" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\sprcdiv.c: 8: non-reentrant function "___fldiv" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\sprcmul.c: 8: non-reentrant function "___flmul" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\xxtofl.c: 10: non-reentrant function "___xxtofl" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\Umul8_16.c: 4: non-reentrant function "__Umul8_16" appears in multiple call graphs and has been duplicated by the compiler
. .
Non line specific message: (1359) no space for ___xxtofl parameters
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1
FINISHED
The idea is to produce some different tones from an alarm board out of my scrap box, I have have chosen a 12F629 as it has the same pin count as the original 12c508. It works fine on simulation, one uncertainty is with the switch as I have only got bits 0 to 5 to read on the port I have used 6 bits in the condition (0bxxxxxx).
Target folder: C:\Users\Owner\DOCUME~1
Source name: C:\Users\Owner\Documents\sounder_12F629.fcfx
Title:
Description:
Device: PIC.12F.12F629
Generated by: Flowcode v8.0.0.6
Date: Tuesday, November 13, 2018 10:39:45
Users: 1
Registered to: ianjoh
License key: DTHTBY
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat 12F629 "C:\Users\Owner\DOCUME~1\" "sounder_12F629"
C:\Users\Owner\DOCUME~1>C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=12F629 "sounder_12F629.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 85: non-reentrant function "_delay_us" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 152: non-reentrant function "_FCI_DELAYINT_US" appears in multiple call graphs and has been duplicated by the compiler
sounder_12F629.c: 744: non-reentrant function "_FCD_0ba81_PiezoSounder1__BuzzerOnDelay" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\fltol.c: 43: non-reentrant function "___fltol" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\sprcdiv.c: 8: non-reentrant function "___fldiv" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\sprcmul.c: 8: non-reentrant function "___flmul" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\xxtofl.c: 10: non-reentrant function "___xxtofl" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~3\Flowcode\Common\COMPIL~1\pic\sources\common\Umul8_16.c: 4: non-reentrant function "__Umul8_16" appears in multiple call graphs and has been duplicated by the compiler
. .
Non line specific message: (1359) no space for ___xxtofl parameters
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1
FINISHED