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
16F1827 hex compiler errors
Moderator: Benj
Re: 16F1827 hex compiler errors
I checked BoostC's forum and learned that they were to released a file for the 16F1827 in March of 2010. Do Matrix have the updated chip files? Do you have a newer version of BoostC that I need to install?
Thanks,
Ron
Thanks,
Ron
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 16F1827 hex compiler errors
Hi Ron,
Yes 16F1827 is currently only supported by Hitec compiler. See:
http://www.matrixmultimedia.com/mmforum ... =26&t=6812
There is a planned free upgrade of Flowcode V4 soon which includes the newer boost C so will support the 16F18xx range of microcontrollers.
I'm sure someone who works for Matrix will be able to confirm the date of planned upgrade.
Martin
Yes 16F1827 is currently only supported by Hitec compiler. See:
http://www.matrixmultimedia.com/mmforum ... =26&t=6812
There is a planned free upgrade of Flowcode V4 soon which includes the newer boost C so will support the 16F18xx range of microcontrollers.
I'm sure someone who works for Matrix will be able to confirm the date of planned upgrade.
Martin
Martin
- 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: 16F1827 hex compiler errors
Hello,
The upgrade is on the way however we are cramming in a lot of new features and some of these are not quite ready for release yet.
The upgrade is on the way however we are cramming in a lot of new features and some of these are not quite ready for release yet.
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
Re: 16F1827 hex compiler errors
Thank you, Martin!
Benj, keep me in mind if you need a beta tester. Thanks.
Benj, keep me in mind if you need a beta tester. Thanks.