16F73 Timer0 compile error

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

16F73 Timer0 compile error

Post 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
Attachments
PIC16F73.h
(11.89 KiB) Downloaded 276 times
Martin

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: 16F73 Timer0 compile error

Post 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.

Post Reply