Pic 30F6012A Int macro fehler
Posted: Thu Sep 29, 2011 4:34 pm
Hallo
Habe ein problem mit dem INT_Macro:
Int0,Int1,Int2 kann ich nach hex compilieren.
Int3,Int4 ergibt:
master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c
error: 'IEC3bits' undeclared (first use in this function)
master_ecio40pin30F6012A.c
error: (Each undeclared identifier is reported only once
master_ecio40pin30F6012A.c
error: for each function it appears in.)
master_ecio40pin30F6012A.c: In function '_INT3Interrupt':
master_ecio40pin30F6012A.c
error: 'IFS3bits' undeclared (first use in this function)
Error returned from [pic30-gcc.exe]
Return code = 1
master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c
error: 'IEC3bits' undeclared (first use in this function)
master_ecio40pin30F6012A.c
error: (Each undeclared identifier is reported only once
master_ecio40pin30F6012A.c
error: for each function it appears in.)
master_ecio40pin30F6012A.c: In function '_INT4Interrupt':
master_ecio40pin30F6012A.c
error: 'IFS3bits' undeclared (first use in this function)
Error returned from [pic30-gcc.exe]
Return code = 1
Was kann ich tun?
Gruss Wolfgang
Habe ein problem mit dem INT_Macro:
Int0,Int1,Int2 kann ich nach hex compilieren.
Int3,Int4 ergibt:
master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c: In function '_INT3Interrupt':
master_ecio40pin30F6012A.c
Error returned from [pic30-gcc.exe]
Return code = 1
master_ecio40pin30F6012A.c: In function 'FCM_i2c_read_byte':
master_ecio40pin30F6012A.c:9549: warning: unused variable 'FCL_RET_VAL_DUMMI'
master_ecio40pin30F6012A.c: In function 'main':
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c
master_ecio40pin30F6012A.c: In function '_INT4Interrupt':
master_ecio40pin30F6012A.c
Error returned from [pic30-gcc.exe]
Return code = 1
Was kann ich tun?
Gruss Wolfgang