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

create header files

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



Joined: 20 Apr 2013
Posts: 50

View user's profile Send private message

create header files
PostPosted: Fri Jul 05, 2013 6:24 am     Reply with quote

Hello everyone,
I have a question, How can i create header file using ccs compiler, i am using v4.038

Thanks in advance,
z3ngew
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri Jul 05, 2013 6:40 am     Reply with quote

Header files are nothing more than regular text files and can be
created using Notepad.

However, having a header file does you no good if the compiler doesn't
support the desired PIC. The only way to add the newer PICs is to upgrade the
compiler.
_________________
Google and Forum Search are some of your best tools!!!!
temtronic



Joined: 01 Jul 2010
Posts: 9226
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Jul 05, 2013 10:43 am     Reply with quote

He might just be needing to add a driver for a specific device though, in which case it's easy to add.
Tons of CCS examples do this.

I've never liked the 'filenamedotH' approach to 'header' files. I prefer 'filenamedotDVR' for drivers.Yup, getting old, need more organization in what's left of my life.

hth
jay
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri Jul 05, 2013 2:25 pm     Reply with quote

Yeah, but looking at the version they are using, the likelihood is pretty good
it's for a later PIC. In any case, you are absolutely correct, a driver can be
made the same way.
_________________
Google and Forum Search are some of your best tools!!!!
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