cpik [-v] [-o output_file] [-L path] [-p device] input_file [input_file..]
-v
: prints version number, then exit immediatly.
-o output_file
: specifies the output file name.
By default, this name is a.asm. This file can be immediatly processed by the assembler and does not require any additionnal support.
-L path
: specifies the path to libraries (.slb) files. This option follows the traditionnal behaviour of Unix C linkers.
You can specify any number of lib path, and they will be searched
in the order of -L options.
The default include path always contains /usr/share/cpik/<version>/lib/
that is searched in last position.
Note that «-L path1,path2» is a shortcut for «-L path1 -L path2»
-p device
: specifies the target pic device name. device must be a valid
pic 18 name like p18xxxx. An invalid device will cause the final assembly to fail.
By default, the selected device is p18f1220.
input_file [input_file..]
: any number of .slb files.
The library
/usr/share/cpik/<version>/lib/rtl.slb
(run time library) contains low-level modules
and is automatically referenced as the last library. Please do not reference this library explicitly
because it will change the scanning order of libraries, and might cause undesirable effects.
AG 2013-04-10