Microcontroladores - error 1109 al usar el ADC en 18f4550

 
Vista:

error 1109 al usar el ADC en 18f4550

Publicado por guillermo (1 intervención) el 03/04/2009 03:59:55
Buenas, acabo de empezar con el tema de las pic, me he hecho una placa propia para ir probando cosas y ahora despues de timers me he puesto con el adc, el problema es que me da un error al compilar:

Make: The target "C:pruebas mplabentrenadoramain.o" is out of date.
Executing:
"C:MCC18inmcc18.exe" -p=18F4550 "main.c" -fo="main.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-MPLAB C18 v3.22 (feature limited)Copyright 2000-2008 Microchip Technology Inc.This version of MPLAB C18 does not support the extended modeand will not perform all optimizations. To purchase a fullcopy of MPLAB C18, please contact your local distributor orvisit buy.microchip.com.

C:MCC18hp18f2550.h:326:Error [1109] type mismatch in redeclaration of 'PORTEbits'
C:MCC18hp18f2550.h:614:Error [1109] type mismatch in redeclaration of 'CCP1ASbits'
C:MCC18hp18f2550.h:624:Error [1109] type mismatch in redeclaration of 'ECCP1ASbits'
C:MCC18hp18f2550.h:629:Error [1109] type mismatch in redeclaration of 'CCP1DELbits'C:MCC18hp18f2550.h:634:Error [1109] type mismatch in redeclaration of 'ECCP1DELbits'
C:pruebas mplabentrenadoramain.c:116:Warning [2058] call of function without prototype
C:pruebas mplabentrenadoramain.c:117:Warning [2058] call of function without prototype
C:pruebas mplabentrenadoramain.c:118:Warning [2058] call of function without prototype
Halting build on first failure as requested.

esta claro que uso la 4550 y he buscado por todos los archivos del project a ver si salia en algun lado alguna referencia a la 2550 y no la hay excepto en el pconfig.h pero ahi estan todas.

A ver si alguien me puede hechar una mano, que estoy muy desesperado.

gracias de antemano
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder