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 ; 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
Thank for sorting this out .
Error Definition for CCPCON1
Moderator: Benj
- QMESAR
- 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
- Attachments
-
- 2.JPG (23.43 KiB) Viewed 9407 times
-
- 1.JPG (36.17 KiB) Viewed 9407 times
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- QMESAR
- 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
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
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 (25.29 KiB) Viewed 9400 times
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- 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
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.
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
― C.S. Lewis
- QMESAR
- 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
Thank you very much for the help I appreciate this
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- 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
Thanks for the spot. These issues should now be fixed with the attached updated files and will be fixed in the next release.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- QMESAR
- 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
Hi Ben,
Thank you very much the code compiles now perfectly ,
Have good one
Thank you very much the code compiles now perfectly ,
Have good one
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR