Page 1 of 1

Error Definition for CCPCON1

Posted: Sun Aug 21, 2016 4:29 pm
by QMESAR
Hi All ,

I am using the PIC18F2585 for a project and as you will see from the Compiler report there is a definition for the ccp1con register :D ; i suspect that the name is still as written in the boostC compiler and not to the xC Syntax,I haven't checked it
secondly there is a warning regarding the configuration settings ,this did not compile with these errors :D

Thank for sorting this out .

:D

Re: Error Definition for CCPCON1

Posted: Sun Aug 21, 2016 4:54 pm
by QMESAR
Hi All.
Inspecting the C code in FC it seams my suspicion is correct ,
Just for my learning where should this be corrected ?
It seems I can not change it in the C code view will this work if I change it in in my editor and then compile again ?
I want to learn and understand the inside machinery of FC

Re: Error Definition for CCPCON1

Posted: Sun Aug 21, 2016 8:21 pm
by kersing
These definitions can be found in the device definition file. (18f2585.fcd)

Modifications in an editor will not help as Flowcode will overwrite the modified code. Change the FCD file and next time you hit compile it will be solved.

Re: Error Definition for CCPCON1

Posted: Sun Aug 21, 2016 9:09 pm
by QMESAR
Thank you very much for the help I appreciate this
:D

Re: Error Definition for CCPCON1

Posted: Mon Aug 22, 2016 11:14 am
by Benj
Thanks for the spot. These issues should now be fixed with the attached updated files and will be fixed in the next release.
PIC_FCD_Fix.zip
(31.29 KiB) Downloaded 320 times

Re: Error Definition for CCPCON1

Posted: Mon Aug 22, 2016 5:51 pm
by QMESAR
Hi Ben,

Thank you very much the code compiles now perfectly ,

Have good one :D