Skip navigation


February 29, 2016
In this guide we will be controlling a tower pro sg90 servo motor using software pwm module.     Step1: export ARCH & CROSS_COMPILE to environment path.   in my case its like below, yours might be different. $ export ARCH=arm $ export CROSS_COMPILE=<PATH_TO_TOOLCHAIN>/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-   Step2: create a directory mkdir driver   create a file named "Makefile"  and replace with your KDIR value, below is mine. obj-m : ...