Hi All..
i have a problem compiling..
try this and you se what i mean..
with wizard make a PIC18F452
compile..
ad you get-
error: gcasm: duplicate, conflicting definition for wr..
please heol me as i have a lot of PIC18f452 i want to use..
Claus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This bug is caused by an error in the chip data file, which in turn was caused by an error in the .inc file for the 18F452. The .inc file has 2 different definitions for WR, one stating that it is in PORTE.0, the other that it is EECON.1.
The bug can be removed by opening 18f452.dat from the chipdata directory, and deleting this line from the [bits] section:
WR,PORTE,0
I will update the chip data file/s once I've fixed it and checked all of the other files for similar errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All..
i have a problem compiling..
try this and you se what i mean..
with wizard make a PIC18F452
compile..
ad you get-
error: gcasm: duplicate, conflicting definition for wr..
please heol me as i have a lot of PIC18f452 i want to use..
Claus
This bug is caused by an error in the chip data file, which in turn was caused by an error in the .inc file for the 18F452. The .inc file has 2 different definitions for WR, one stating that it is in PORTE.0, the other that it is EECON.1.
The bug can be removed by opening 18f452.dat from the chipdata directory, and deleting this line from the [bits] section:
WR,PORTE,0
I will update the chip data file/s once I've fixed it and checked all of the other files for similar errors.