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 CCS Technical Support

PIC18F452

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







PIC18F452
PostPosted: Thu Mar 18, 2004 5:46 pm     Reply with quote

I tried to compile my program with compiler V3.184. My program use a PIC18F452 and when I compile it, I've the error :
unknown device type --try PCH

and it open the file 18F452.h and highlight this line :
#device PIC18F452

Someone know what I can do for that.

thank you
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Thu Mar 18, 2004 5:53 pm     Reply with quote

You need the PCH compiler to compile code for PIC18 series. Assuming you already have PCH, go to the drop-down combo box in the IDE toolbar and select Microchip PIC18. The program should now compile.
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