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
C-File from Version 10 to MPLAB
-
- Posts: 33
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
-
- Matrix Staff
- Posts: 1279
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 170 times
- Been thanked: 287 times
Re: C-File from Version 10 to MPLAB
I can see only warnings in that excerpt and no errors. Can you post the full file?
-
- Posts: 33
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: C-File from Version 10 to MPLAB
Hello!
Here is the old file.....
Regards
Jorg
Here is the old file.....
Regards
Jorg
- Attachments
-
- PIC12F617_V10.fcfx
- (35.57 KiB) Downloaded 19 times
-
- Matrix Staff
- Posts: 1279
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 170 times
- Been thanked: 287 times
Re: C-File from Version 10 to MPLAB
Sorry. I mean the file (or a complete output listing) with the errors that was produced when you ran the C-code file through MPLAB.
-
- Posts: 33
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: C-File from Version 10 to MPLAB
Hello!
Here is the complete message from MPLAB.
Regards
Jorg
Here is the complete message from MPLAB.
Regards
Jorg
- Attachments
-
- PIC12F617_Compile meassage MPLAB.txt
- (20.49 KiB) Downloaded 22 times
-
- Matrix Staff
- Posts: 1279
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 170 times
- Been thanked: 287 times
Re: C-File from Version 10 to MPLAB
Thanks. Looking at that file, there are no errors being reported and the build is reported as being successful. So your project should work ok.
The warnings being reported can probably be ignored.
The warnings being reported can probably be ignored.
-
- Posts: 33
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: C-File from Version 10 to MPLAB
Hello!
Thanks for the info.
"Succsessfully compiled" means, that all is OK without errors?
Regards
Jorg
Thanks for the info.
"Succsessfully compiled" means, that all is OK without errors?
Regards
Jorg