View previous topic :: View next topic |
Author |
Message |
z3ngew
Joined: 20 Apr 2013 Posts: 50
|
create header files |
Posted: Fri Jul 05, 2013 6:24 am |
|
|
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
|
|
Posted: Fri Jul 05, 2013 6:40 am |
|
|
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
|
|
Posted: Fri Jul 05, 2013 10:43 am |
|
|
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
|
|
Posted: Fri Jul 05, 2013 2:25 pm |
|
|
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!!!! |
|
|
|