Does not compile with I2C component
Posted: Sun Mar 05, 2017 6:05 pm
Hello Everyone
I am using a PIC24FV16KA304 and, after adding a few I2C things, am getting the following error when compiling;
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:246:0,
from Main 03.c:412:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c: In function 'FC_CAL_I2C_Slave_RxByte_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:602:20: error: 'I2C1STATBITS' has no member named 'D_A'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:602:41: error: 'I2C1STATBITS' has no member named 'R_W'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c: In function 'FC_CAL_I2C_Slave_Status_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:689:19: error: 'I2C1STATBITS' has no member named 'R_W'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:692:19: error: 'I2C1STATBITS' has no member named 'D_A'
Error returned from [xc16-gcc.exe]
Completed compilation, return = 1
Is there a CAL file that I need to install?
Thanks Howard
I am using a PIC24FV16KA304 and, after adding a few I2C things, am getting the following error when compiling;
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:246:0,
from Main 03.c:412:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c: In function 'FC_CAL_I2C_Slave_RxByte_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:602:20: error: 'I2C1STATBITS' has no member named 'D_A'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:602:41: error: 'I2C1STATBITS' has no member named 'R_W'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c: In function 'FC_CAL_I2C_Slave_Status_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:689:19: error: 'I2C1STATBITS' has no member named 'R_W'
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c:692:19: error: 'I2C1STATBITS' has no member named 'D_A'
Error returned from [xc16-gcc.exe]
Completed compilation, return = 1
Is there a CAL file that I need to install?
Thanks Howard