Page 1 of 1

Compile Error

Posted: Thu Aug 04, 2016 3:41 pm
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

Re: Compile Error

Posted: Thu Aug 04, 2016 4:07 pm
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 320 times

Re: Compile Error

Posted: Fri Aug 05, 2016 4:58 pm
by dz28
Thanks!
Compiles fine now

DC

Re: Compile Error

Posted: Mon Aug 08, 2016 4:10 pm
by Benj
Added 16-bit PWM support for this device here.
http://www.flowcode.co.uk/mmforums/viewt ... 961#p76163