16F1827 hex compiler errors
Posted: Wed May 25, 2011 7:39 pm
I've created a project using a Microchip 16F1827. The C code compiles without incident. However, when I "compile to Hex", I get errors such as this:
.........................
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: unknown identifier 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: invalid operand 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:8): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: unknown identifier 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: invalid operand 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: invalid operand '& '
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: invalid operand '=='
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:18): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(154:2): error: unknown identifier 'trisa'
I checked the "include" directory for BoostC and did not find a 16F1827.h file. Is the absence of this file's causing my errors? Is this chip not supported by the BoostC compiler?
Thanks,
Ron
.........................
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: unknown identifier 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: invalid operand 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:8): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: unknown identifier 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: invalid operand 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: invalid operand '& '
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: invalid operand '=='
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:18): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(154:2): error: unknown identifier 'trisa'
I checked the "include" directory for BoostC and did not find a 16F1827.h file. Is the absence of this file's causing my errors? Is this chip not supported by the BoostC compiler?
Thanks,
Ron