as I was trying to compile the simple example on this
there comes the log:
make -C /home/oscar/uClinux-dist-2008R1.5-RC3/linux-2.6.x M=/home/oscar/workspace/pwm-drive modules
make: Entering directory `/home/oscar/uClinux-dist-2008R1.5-RC3/linux-2.6.x'
CC [M] /home/oscar/workspace/pwm-drive/drive.o
/home/oscar/workspace/pwm-drive/drive.c: In function ‘gptimer_example_init’:
/home/oscar/workspace/pwm-drive/drive.c:63: error: ‘IRQ_TIMER0’ undeclared (first use in this function)
make: Leaving directory `/home/oscar/uClinux-dist-2008R1.5-RC3/linux-2.6.x'
/home/oscar/workspace/pwm-drive/drive.c:63: error: (Each undeclared identifier is reported only once
/home/oscar/workspace/pwm-drive/drive.c:63: error: for each function it appears in.)
/home/oscar/workspace/pwm-drive/drive.c:81: error: ‘TIMER_IRQ_WID_DLY’ undeclared (first use in this function)
/home/oscar/workspace/pwm-drive/drive.c:53: warning: unused variable ‘revid’
/home/oscar/workspace/pwm-drive/drive.c: In function ‘gptimer_example_exit’:
/home/oscar/workspace/pwm-drive/drive.c:102: error: ‘IRQ_TIMER0’ undeclared (first use in this function)
make: *** [/home/oscar/workspace/pwm-drive/drive.o] Error 1
make: *** [_module_/home/oscar/workspace/pwm-drive] Error 2
make: *** [all] Error 2
I think some .h file is need!! but I do not know which!!