C-File from Version 10 to MPLAB
Posted: Wed Feb 21, 2024 8:20 am
Hello Matrix team,
how can I managed it, to compile a Flowcode C-File in MPLAB? I got a lot of errors. Info: For future the C90 library is discontinued by Microchip.
Errors:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make -f nbproject/Makefile-default.mk dist/default/production/Test.X.production.hex
make[2]: Entering directory 'C:/Downloads/Test.X'
"C:\Program Files\Microchip\xc8\v2.46\bin\xc8-cc.exe" -mcpu=12F617 -c -mdfp="C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/_ext/1472/PIC12F617_V10.p1 ../PIC12F617_V10.c
advisory: (2099) legacy C90 library is deprecated and will be discontinued in a future release; consult the release notes for more details
advisory: (2095) legacy HI-TECH support is deprecated and will be discontinued in a future release; consult the release notes for more details
../PIC12F617_V10.c:32:45: warning: (1388) configuration setting/register of "CONFIG" with 0x3F94 will be truncated by 0xFFF
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:199:50: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:205:27: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:206:50: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:212:33: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:218:23: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:219:33: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_String.c:500:19: warning: (373) implicit signed to unsigned conversion
......
Regards
Jorg
how can I managed it, to compile a Flowcode C-File in MPLAB? I got a lot of errors. Info: For future the C90 library is discontinued by Microchip.
Errors:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make -f nbproject/Makefile-default.mk dist/default/production/Test.X.production.hex
make[2]: Entering directory 'C:/Downloads/Test.X'
"C:\Program Files\Microchip\xc8\v2.46\bin\xc8-cc.exe" -mcpu=12F617 -c -mdfp="C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/_ext/1472/PIC12F617_V10.p1 ../PIC12F617_V10.c
advisory: (2099) legacy C90 library is deprecated and will be discontinued in a future release; consult the release notes for more details
advisory: (2095) legacy HI-TECH support is deprecated and will be discontinued in a future release; consult the release notes for more details
../PIC12F617_V10.c:32:45: warning: (1388) configuration setting/register of "CONFIG" with 0x3F94 will be truncated by 0xFFF
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:199:50: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:205:27: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:206:50: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:212:33: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:218:23: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c:219:33: warning: (373) implicit signed to unsigned conversion
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_String.c:500:19: warning: (373) implicit signed to unsigned conversion
......
Regards
Jorg