Page 1 of 1

16F73 Timer0 compile error

Posted: Wed Feb 20, 2013 9:12 pm
by medelec35
When using Timer0
For the following errors:

Code: Select all

timer0 16F73.c(127:23): error: unknown identifier 'TMR0IE'
timer0 16F73.c(127:23): error: invalid operand 'TMR0IE'
timer0 16F73.c(127:18): error: failed to generate expression
timer0 16F73.c(127:18): error: invalid operand '<<'
failed to generate expression
unknown identifier 'TMR0IF'
invalid operand 'TMR0IF'
failed to generate expression
invalid operand '<<'
failed to generate expression
unknown identifier 'TMR0IE'
error: invalid operand 'TMR0IE'
error: failed to generate expression
error: invalid operand '<<'
error: failed to generate expression
error: invalid operand '& '
error: invalid operand '& '
error: failed to generate expression
Is not a Flowcode bug (if datasheet is correct)!
The problem is with PIC16F73 header file of boostC


Just replace C:\Program Files (x86)\Flowcode\v5\Tools\boostc\include\PIC16F73.h
(If 6bit windows)
or
C:\Program Files\Flowcode\v5\Tools\boostc\include\PIC16F73.h
(If 32 Bit windows)

With attached file.

Note 16F7x from 16F73 are all affected.

Martin

Re: 16F73 Timer0 compile error

Posted: Thu Feb 21, 2013 7:52 am
by jgu1
Hi Martin!

There has not been many errors in ver.5.5 until now. :D :D

But as before, would it not be a good idea to create a "window" for corrections to ver.5.5 and place them there. It is not safe to spot corrections when they are located in different forums. For me it will be a great help. :wink:

Best regard

Jorgen.