CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Compile problem with compiler 4.130

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
russk2txb



Joined: 30 Mar 2008
Posts: 109
Location: New Jersey

View user's profile Send private message

Compile problem with compiler 4.130
PostPosted: Tue Mar 13, 2012 12:20 pm     Reply with quote

Hi all. Just installed new compiler version 4.130 and immediately ran into a problem. When I try to compile a program (that compiles and works with version 4.122), I get the following error:

Option Invalid No PLL

This is for a PIC18F4682 and it certainly has a PLL. Here is the offending line of code:
Code:

#use delay(clock=40M, oscillator=10M)


Anyone else have this problem or any advice?

Thanks, Russ
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 13, 2012 12:21 pm     Reply with quote

See this recent thread on the topic:
http://www.ccsinfo.com/forum/viewtopic.php?t=46828
russk2txb



Joined: 30 Mar 2008
Posts: 109
Location: New Jersey

View user's profile Send private message

Compile problem with compiler 4.130
PostPosted: Tue Mar 13, 2012 1:50 pm     Reply with quote

Thanks PCM Programmer. I had seen a similar thread but not so complete, but did not want to jump to that conclusion. It seems that all that is needed is to change "oscillator" to "crystal". I did that and the program now compiles without error. Have not yet tried it though.

To me, using crystal makes more sense, since we are not using an actual external oscillator. But I reviewed all the changes between version 4.122 and 4.130 and I did not see anything in there about abandoning the word 'oscillator'. As a note to any CCS personnel reading this - It would be nice if you informed us!

Regards, Russ
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group