C:\Program Files\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "servi" "C:\Users\Ulises\DOCUME~1\Flowcode\INVERN~1\" "33EP32MC202"
Launching compiler...
C:\Users\Ulises\DOCUME~1\Flowcode\INVERN~1>pic30-gcc -c -mcpu="33EP32MC202" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "servi".c -o "servi".o
servi.c: In function 'FCD_0dd21_Servo_Controller1__EnableServo':
servi.c:553: warning: unused variable 'FCL_DUMMY'
servi.c: In function 'FCD_0dd21_Servo_Controller1__Initialise':
servi.c:736: error: 'MX_SERVO_REG_CCPR1H' undeclared (first use in this function)
servi.c:736: error: (Each undeclared identifier is reported only once
servi.c:736: error: for each function it appears in.)
servi.c:737: error: 'MX_SERVO_REG_CCPR1L' undeclared (first use in this function)
servi.c:738: error: 'MX_SERVO_REG_T1CON' undeclared (first use in this function)
servi.c:738: error: 'MX_SERVO_T1CON' undeclared (first use in this function)
servi.c:739: error: 'MX_SERVO_REG_CCP1CON' undeclared (first use in this function)
servi.c:739: error: 'MX_SERVO_CCP1CON' undeclared (first use in this function)
servi.c:740: error: 'MX_SERVO_REG_CCP1EN' undeclared (first use in this function)
servi.c:740: error: 'MX_SERVO_FLAG_CCP1EN' undeclared (first use in this function)
servi.c:741: error: 'MX_SERVO_REG_CCP2CON' undeclared (first use in this function)
servi.c:741: error: 'MX_SERVO_CCP2CON' undeclared (first use in this function)
servi.c:743: error: 'MX_SERVO_REG_CCP2EN' undeclared (first use in this function)
servi.c:743: error: 'MX_SERVO_FLAG_CCP2EN' undeclared (first use in this function)
servi.c:744: error: 'MX_SERVO_REG_INT' undeclared (first use in this function)
servi.c:744: error: 'MX_SERVO_FLAG_PERIPH' undeclared (first use in this function)
servi.c:745: error: 'MX_SERVO_FLAG_GLOB' undeclared (first use in this function)
servi.c: In function 'FCD_08f41_adc_base__GetString':
servi.c:854: warning: pointer targets in passing argument 3 of 'FCI_FLOAT_TO_STRING' differ in signedness
servi.c: In function 'FCD_04071_LCD__PrintString':
servi.c warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
servi.c: In function 'FCD_04071_LCD__PrintAscii':
servi.c warning: unused variable 'FCL_X'
servi.c: In function 'FCD_04071_LCD__PrintNumber':
servi.c warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
servi.c: In function 'FCD_04071_LCD__ScrollDisplay':
servi.c warning: comparison is always true due to limited range of data type
servi.c warning: suggest parentheses around comparison in operand of &
servi.c: At top level:
servi.c error: syntax error before '{' token
servi.c warning: type defaults to 'int' in declaration of 'FCL_SERVOCAL'
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'FCL_SERVOCAL'
servi.c error: redefinition of 'FCL_SERVOCAL'
servi.c error: previous definition of 'FCL_SERVOCAL' was here
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'FCL_SERVOCAL'
servi.c error: redefinition of 'FCL_SERVOCAL'
servi.c error: previous definition of 'FCL_SERVOCAL' was here
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'FCL_SERVOCAL'
servi.c error: redefinition of 'FCL_SERVOCAL'
servi.c error: previous definition of 'FCL_SERVOCAL' was here
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'FCL_SERVOCAL'
servi.c error: redefinition of 'FCL_SERVOCAL'
servi.c error: previous definition of 'FCL_SERVOCAL' was here
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'MX_SERVO_REG_CCPR2H'
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c warning: type defaults to 'int' in declaration of 'MX_SERVO_REG_CCPR2L'
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c error: syntax error before '&=' token
servi.c error: syntax error before '{' token
servi.c warning: type defaults to 'int' in declaration of 'FCV_0dd21_Servo_Controller1__SERVO_IDX'
servi.c error: conflicting type qualifiers for 'FCV_0dd21_Servo_Controller1__SERVO_IDX'
servi.c:224: error: previous definition of 'FCV_0dd21_Servo_Controller1__SERVO_IDX' was here
servi.c error: initializer element is not constant
servi.c warning: data definition has no type or storage class
servi.c error: syntax error before 'if'
Error returned from [pic30-gcc.exe]
.
Completed compilation, return = 1
C:\Program Files\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1
FINISHED
ERROR servo component
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ERROR servo component
Hello,
Thanks for letting us know about the issue.
I have found the source of the problem and the fix will be included in with the next release.
Thanks for letting us know about the issue.
I have found the source of the problem and the fix will be included in with the next release.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel