Compiling error after changing from FC7
Posted: Sat Oct 29, 2022 1:21 pm
Hi
I had FC7 and was using it to load to hardware which had worked successfully. I subsequently used FC9 on trial with the same code and that also worked fine on my hardware. At the end of the trial, I reverted to using the same file on FC7 and it then had I2C and loop problems, and possibly more issues, on hardware. The properties seem to be correct.
No sure if any of the above is relevant but I bought FC9 and using the same file I have a compiling problem. I am not sure whether I should change compiler settings to be the same as my FC7, as FC9 (trial version) had worked before without changes. The path and filenames are as before.
Sorry I haven't figured out where to find the FC revision but it was the latest version yesterday.
Thanks Howard
I had FC7 and was using it to load to hardware which had worked successfully. I subsequently used FC9 on trial with the same code and that also worked fine on my hardware. At the end of the trial, I reverted to using the same file on FC7 and it then had I2C and loop problems, and possibly more issues, on hardware. The properties seem to be correct.
No sure if any of the above is relevant but I bought FC9 and using the same file I have a compiling problem. I am not sure whether I should change compiler settings to be the same as my FC7, as FC9 (trial version) had worked before without changes. The path and filenames are as before.
Sorry I haven't figured out where to find the FC revision but it was the latest version yesterday.
Thanks Howard
Code: Select all
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 18F47K40 "C:\Users\HowardB\Desktop\SHW master tests\" "SHC Master NEW E74 FC9 47K"
C:\Users\HowardB\Desktop\SHW master tests>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982F2C26BF78BFC32C650CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE1BF2A9420263CDAEEC22F549213B2E20A6A0704CBC762DED
C:\Users\HowardB\Desktop\SHW master tests>REM REVISION: 1.0
C:\Users\HowardB\Desktop\SHW master tests>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Users\HowardB\Desktop\SHW master tests>REM DATE: 29\03\2021
C:\Users\HowardB\Desktop\SHW master tests>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
C:\Users\HowardB\Desktop\SHW master tests>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe" --chip=18F47K40 "SHC Master NEW E74 FC9 47K.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc18 --chip=18F47K40 SHC Master NEW E74 FC9 47K.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.
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c:
327: #define MX_SOFT_BAUD_X (1000000 / MX_UART_BAUD_X) - SW_OFFSET
^ (111) redefining preprocessor macro "MX_SOFT_BAUD_X" (C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: 361) (warning)
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_I2C.c: FC_CAL_I2C_Master_Init_1()
261: = 16;
^ (195) expression syntax
262: = 15;
^ (195) expression syntax
336: tris |= (1 << (0));
^ (192) undefined identifier "tris"
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_I2C.c: FC_CAL_I2C_Slave_Init_1()
650: = 16;
^ (195) expression syntax
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED