
TPMC118-SW-95 – QNX6 Neutrino Device Driver
Page 5 of 30
2 Installation
The software is delivered on a PC formatted 3½" HD diskette.
Following driver specific files are located on the diskette:
/driver/tpmc118.c
Driver source code
/driver/tpmc118.h Driver
interface definitions and data structures
/driver/tpmc118def.h
Device driver include
/driver/node.h
Queue management definitions
/driver/node.c
Queue management source code
/example/example.c Example
application
TPMC118-SW-95.pdf
This Manual in PDF format
For installation create a new directory (e.g. .
../tpmc118
) in the
/usr/src
directory and copy the complete
/driver
and
/example
directories (with sub-directories and all files) from the distribution diskette into the
new created project directory.
It is absolute important to create the tpmc118 project directory in the /usr/src directory
otherwise the automatic build with make will fail.
2.1 Build the device driver
1. Change to the
/usr/src/tpmc118/driver
directory
2. Execute the Makefile
# make install
After successful completion the driver binary will be installed in the
/bin
directory.
Build the example application
3. Change to the
/usr/src/tpcm118/example
directory
4. Execute the Makefile
# make install
After successful completion the example binary (tp118exam) will be installed in the
/bin
directory.