Error Definition for CCPCON1

A forums to allow resolved bugs and problems with Flowcode v7 to be stored and marked as resolved.

Moderator: Benj

Post Reply
User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Error Definition for CCPCON1

Post 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
Attachments
2.JPG
2.JPG (23.43 KiB) Viewed 8267 times
1.JPG
1.JPG (36.17 KiB) Viewed 8267 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Error Definition for CCPCON1

Post 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
Attachments
3.JPG
3.JPG (25.29 KiB) Viewed 8260 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Error Definition for CCPCON1

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Error Definition for CCPCON1

Post by QMESAR »

Thank you very much for the help I appreciate this
:D

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Error Definition for CCPCON1

Post 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 308 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Error Definition for CCPCON1

Post by QMESAR »

Hi Ben,

Thank you very much the code compiles now perfectly ,

Have good one :D

Post Reply