嵌入式驱动开发流程示例(简单的说就是写好驱动,编译,挂载)
摘要:
1.在drivers/char/目录下建立一个first_driver_hello.c文件 文件的内容如下 /************************************* NAME:first_driver_hello.c COPYRIGHT:328977974@qq.com **************************************/ #include #include MODULE_LICENSE("GPL"); static int hello_init(void) { printk("This is the... 阅读全文
posted @ 2014-03-28 10:54 坐看疯云 阅读(1318) 评论(0) 推荐(0) 编辑