
驱动开发
shenlanse8805
这个作者很懒,什么都没留下…
展开
-
event0设备节点在/dev/input目录下
event0设备节点在/dev/input目录下原创 2014-07-29 08:19:42 · 1200 阅读 · 0 评论 -
编译u-boot,遇到的问题
视频中的u-boot 编译时 不能用arm-linux-gcc 4.3.2 所以要更改一下使用3.4.5版本的。方法:直接将视频中提供的3.4.5版本的tar.gz文件解压到/work/jz2440system/u-boot下面了,所以使用的时候必 须将其路径添加到PATH中去,这时候就得将4.3.2的路径删除,可以使用export PATH的方法,原创 2014-06-24 17:19:30 · 459 阅读 · 0 评论 -
invalid storage class for function "***"
编译驱动时出现此错误,是因为代码中的大括号原创 2014-05-05 16:01:46 · 2149 阅读 · 0 评论 -
implicit declaration of function "class_device_create"
linux-2.6.30.4如下错误:error: implicit declaration of function 'class_device_create'error: implicit declaration of function 'class_device_destroy'原因:class_device_create 和 class_d原创 2014-05-03 17:32:58 · 2149 阅读 · 1 评论 -
编译LED驱动时,提示: warning: function declaration isn't a prototype
最近买了个s3c2440的开发板,按照赠送的视频学习,今天学习的LED驱动。驱动中的file_operation结构体中,只定义了 open 和 ioctl 函数。但是驱动中有两个函数:void leds_all_on() 和 void leds_all_off() ,编译时,总是有警告:warning: function declaration isn't a prototype。 上网查原创 2014-03-23 09:36:54 · 621 阅读 · 0 评论