C4PIC Exercise 1.1 Problems
Posted: Wed Oct 01, 2008 3:55 am
I'm using a version 3 Dev board, and starting thru the C$PIC course.
Trying to run exercise 1.1, but cannot build the program as I get errors from interrupt.c:
I did some searching within the foum, but could not decipher the fix a it was described. Can't find anything in any of the documentation to help me understand this one. I'm using the 1688 supplied with the board.
Any help to get me moving in the right direction is appreciated.
Trying to run exercise 1.1, but cannot build the program as I get errors from interrupt.c:
Code: Select all
Building...
BoostC Optimizing C Compiler Version 6.57 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2006 Pavel Baranov
Copyright(C) 2004-2006 David Hobday
Licensed to C4PICs User under Single user Standard License for 1 node(s)
Limitations: PIC12,PIC16 max code size:4096 words, max RAM banks:Unlimited, Non commercial use only
interrupt.c
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(22:25): error: unknown identifier 'T0IF'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(22:25): error: invalid operand 'T0IF'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(22:20): error: failed to generate expression
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(22:16): error: invalid operand '~(1 << ( T0IF ))'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(22:13): error: failed to generate expression
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(46:24): error: unknown identifier 'T0IE'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(46:24): error: invalid operand 'T0IE'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(46:19): error: failed to generate expression
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(46:19): error: invalid operand '<<'
C:\Program Files\Matrix Multimedia\C4PICs16\SourceBoost\Samples\C\BoostC\interrupt.c(46:13): error: failed to generate expression
failure
"C:\Program Files\Matrix Multimedia\C4PICs16\sourceboost\boostc.pic16.exe" interrupt.c -t PIC16F88
Exit code was 1.
Removing target: interrupt.obj
Done
Any help to get me moving in the right direction is appreciated.