Location:
Search - gpio-dev
Search list
Description: 利用开发板上的/dev/mem设备,进行内存映射,驱动cpu的GPIO口,点亮和熄灭led灯.附makefile文件-use development board / dev / mem equipment, memory mapping, Drivers cpu GPIO the mouth, and the lights extinguished led lights. makefile attached document
Platform: |
Size: 18636 |
Author: luchong2000 |
Hits:
Description: 利用开发板上的/dev/mem设备,进行内存映射,驱动cpu的GPIO口,点亮和熄灭led灯.附makefile文件-use development board/dev/mem equipment, memory mapping, Drivers cpu GPIO the mouth, and the lights extinguished led lights. makefile attached document
Platform: |
Size: 18432 |
Author: luchong2000 |
Hits:
Description:
Platform: |
Size: 3714048 |
Author: thomasie |
Hits:
Description: 基于linux和s3c2440的gpio驱动程序,同时包含了应用程序例子,能够访问任意的单个IO管脚,设置为输入、输出等-S3C2440 based on linux and the GPIO driver also contains examples of applications that can access any individual IO pin, set to input and output, etc.
Platform: |
Size: 6144 |
Author: xiyong |
Hits:
Description: 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灯在闪烁了。:)-1, the makefile in the 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 changed the path on your host. 2,# make, to compile driver modules. 3,# export PATH = $ PATH:/usr/local/arm/2.95.3/bin// depends on your host on the path of the cross compiler tool# arm-linux-gcc-o gpio_test gpio_test.c// compile the application procedures for the ultimate in your current folder will be generated under the two documents gpiodrv.o and gpio_test. 4,# mkdir/tmp/1 5, through the ftp way to gpiodrv.o File Download gpio_test with the development of your board/tmp/1 directory. 6,# mknod/dev/gpio c 220 0// create a file node# insmod gpiodrv.o# chmod+ x gpio_test#./Gpio_test then four LED lights can be seen in the flicker of. :)
Platform: |
Size: 9216 |
Author: 马工 |
Hits:
Description: DM365的GPIO驱动以及测试程序,动态分配节点,以及自动在/dev目录下创建设备节点。对于开发和学习都很有帮助-DM365 The GPIO driver and test procedures, dynamic allocation of nodes, and automatic in the/dev directory, device node creation. Development and learning are very helpful
Platform: |
Size: 25600 |
Author: |
Hits:
Description: Atheros AR71XX/AR724X/AR913X common GPIO LEDs support
-Atheros AR71XX/AR724X/AR913X common GPIO LEDs support
Platform: |
Size: 1024 |
Author: saiduqao |
Hits:
Description: Atheros AR71XX/AR724X/AR913X GPIO button support
Platform: |
Size: 1024 |
Author: qongwonfai |
Hits:
Description: Atheros AR71XX common GPIO LEDs support for Embedded Linux.
Platform: |
Size: 2048 |
Author: niyekao |
Hits:
Description: AR913X GPIO button support for Linux v2.13.6.
Platform: |
Size: 2048 |
Author: xiexaomue |
Hits:
Description: AR913X GPIO button support for Linux v2.13.6.
Platform: |
Size: 2048 |
Author: esghbteco |
Hits:
Description: Atheros AR71XX AR724X AR913X GPIO button support.
Platform: |
Size: 2048 |
Author: bmtphn |
Hits:
Description: Atheros AR71XX AR724X AR913X common GPIO LEDs support.
Platform: |
Size: 2048 |
Author: sdmdtang |
Hits:
Description: HI3515c gpio驱动,可用于通用输入输出接口开发-HI3515c gpio dev
Platform: |
Size: 27648 |
Author: helian |
Hits:
Description: myRIO开发 继承底层驱动 IIC GPIO SPI 串口等底层协议-myRIO dev
Platform: |
Size: 4909056 |
Author: 胡勇杰 |
Hits:
Description: 基于三星的4412下的GPIO驱动程序smdk4x12_gpios,加载成功后会在/dev下看到设备节点。-Based on the Samsung 4412 under the GPIO driver smdk4x12_gpios, after the success of the load will see the device node/dev.
Platform: |
Size: 1024 |
Author: 筱筱 |
Hits:
Description: 使用/dev/mem和mmap方式在用户层操作物理层资源的接口。(use /dev/mem and mmap to operate physical layer resource in usermode process.)
Platform: |
Size: 2048 |
Author: liushaofang |
Hits: