We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I try to compile my code I get the above mentioned error. I checked the registry defintion files and the line where the error is being pointed to is:
sbit PCDDIS = SYSCON3^15;
It seems to be fine as PCDDIS is bit 15 of the SYSCON3 registry. Can someone tell me where the error is? This is not the first time I ahve faced this error. With the registry definition files received along with the development board I found T3IN and T3EUD wrongly assigned to port5(they are assigned to Port 3). But this one stumps me.
The word "Redefinition" means that something already defined is being defined again; that is, it is being re-defined.
So, you just need to find the other definition - and then remove one of them!
As Andy notes, you have to find the other, previous, definition. If that one is correct, then you don't need to define the symbol. If incorrect, then you need to fix it.
BUt another thing: When posting a request relating to an error message, you should ALWAYS post the full error message. Not a summary of the message, but every single character! Characters you think are "noise" may represent important extra information to help you figure out _where_ your problem is.