Compile Error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
dz28
Posts: 60
Joined: Thu Aug 04, 2016 3:30 pm
Has thanked: 7 times
Been thanked: 9 times
Contact:

Compile Error

Post by dz28 »

I have a project using the PIC12F1572 which uses the PWM component
I am getting the following 2 errors when compiling to HEX or to Chip
Is there a definition missing somewhere?

(192) undefined identifier "CCP1CON"
(192) undefined identifier "CCPR1L"


Thanks

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: Compile Error

Post by Benj »

Hello,

Many thanks for letting us know of the problem. It was down to a minor bug in the definition file.

Simple copy the file below into your "Flowcode 7/FCD/PIC" folder and restart Flowcode for the changes to be loaded.
12F1572.fcdx
(15.89 KiB) Downloaded 267 times

dz28
Posts: 60
Joined: Thu Aug 04, 2016 3:30 pm
Has thanked: 7 times
Been thanked: 9 times
Contact:

Re: Compile Error

Post by dz28 »

Thanks!
Compiles fine now

DC

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: Compile Error

Post by Benj »

Added 16-bit PWM support for this device here.
http://www.matrixtsl.com/mmforums/viewt ... 961#p76163

Post Reply