Command summary

You can use inc2h-v3 in two ways.

  1. inc2h-v3 -locate

    inc2h-v3 tries to discover where the «.inc» files are located on your hard disk, and displays this (or these) location(s). This command is useful if you don't know where the gputil tool suite has been installed. Basically, this option just use the locate Unix command, so it may fail.

  2. inc2h-v3 [options] -all <directory>

    inc2h-v3 processes all the «.inc» files located in the specified directory and creates the corresponding header files in the current directory. Notice that this command ignores the «.inc» files that do not correspond to a pic18 device.

    Caution: This command is intended to be used with the files provided by the gputils-1.x.x packages. It will not work if the «inc» and the «lkr» directories are not located in the same directory.

The options allow to control what the generated files will contain:

The default behaviour is to create the two kind of information in the same file. Using only one of this options has the (small) avantage of keeping the resulting files relatively small.

In order to understand the various ways to access the SFRs with cpik, I recommend to read one of the «.h» files generated by inc2h-v3.

AG 2013-04-10