
Getting Started
39
-
Include the path to the header file in the driver’s
Makefile
.
-
Run
make clean
:
-
Run
make
again:
»
Install the serial driver module:
You should now be able to use the serial ports as shown in the following table.
$
nano Makefile
ccflags-y +=-I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include
$
make clean
$
make
$
make install