1、将makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include 路径改为你宿主机上的。 2、#make,来编译驱动模块。 3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取决于你宿主机上的交叉编译工具路径 #arm-linux-gcc -o gpio_test gpio_test.c //编译应用程序 最终在你的当前文件夹下会生成gpiodrv.o与gpio_test两个文件。 4、#mkdir /tmp/1 5、通过ftp的方法,把gpio_test与gpiodrv.o文件下载到你的开发板上的/tmp/1目录中。 6、#mknod /dev/gpio c 220 0 //创建文件节点 #insmod gpiodrv.o #chmod +x gpio_test #./gpio_test 然后,就可以看到四个LED灯在闪烁了。:)
标签: local arm-linux usr makefile
上传时间: 2017-08-03
上传用户:zhouchang199
Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs jobs whose tasks are defined as standard Java components or EJBs. The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering. Quartz is freely usable, licensed under the Apache 2.0 license.
标签: full-featured integrated scheduling Quartz
上传时间: 2017-08-07
上传用户:来茴
on/off monitor open/close cd/dvd drive show total RAM memory
标签: monitor memory close drive
上传时间: 2017-08-12
上传用户:小宝爱考拉
C++ src for simple b-spline curve algorithm
标签: algorithm b-spline simple curve
上传时间: 2013-11-28
上传用户:klin3139
detect rectangle by open cv.
上传时间: 2013-12-31
上传用户:xuanjie
detect face in open cv
上传时间: 2017-08-17
上传用户:稀世之宝039
open source dhcp server client etc...
上传时间: 2014-01-06
上传用户:sunjet
free and good Ebook about open erp
上传时间: 2017-08-17
上传用户:jkhjkh1982
hibernate-3.1.3-all-src.zip 面向对象的访问数据库工具
标签: hibernate all-src zip 面向对象的
上传时间: 2017-08-19
上传用户:trepb001
openlogic-jdom-1.1-all-src-1.zip 可以用于操作xml文件,比dom方便的多
标签: openlogic-jdom all-src 1.1 zip
上传时间: 2014-01-10
上传用户:sunjet