Windows Embedded 开发之如何创建一个设备驱动(一般性描述)
来源:互联网 发布:mmap文件怎么打开 mac 编辑:程序博客网 时间:2024/06/05 16:52
How to Create a Device Driver 如何创建一个设备驱动
1. Familiarize yourself with the code structure for Windows Embedded CE device drivers.
熟悉WinCE设备驱动代码结构
2. Familiarize yourself with driver development for Windows Embedded CE.
熟悉WinCE驱动开发
3. If you have not already done so, in the Platform Builder integrated development environment (IDE), create an OS design.
在PB IDE中创建一个OS设计
4. Copy the power management development sample driver to your OS design.
复制电源管理开发样例驱动到你的OS设计
5. Rename the power management development sample driver files to names that correspond with the intended functionality of your driver.
重命名样例驱动的文件
6. Edit the TARGETNAME and SOURCES values in the sources file for your driver to correspond with your new file names.
在sources文件中编辑TARGETNAME和SOURCES的值
7. Add WINCEOEM=1 to the sources file for your driver to allow your driver access to %_WINCEROOT%\Public.
在sources文件中添加WINCEOEM=1
8. Modify the source code for your driver to implement the correct stream interface functions.
修改源代码以实现正确的流接口函数
9. If your driver requires functionality in addition to the functionality provided by the stream interface functions, you may choose to implement custom I/O control codes.
如果你的驱动需要除流接口函数提供的功能之外的功能,你可以选择实现自定义的I/O控制码
10. Verify that the entry points for your driver are exposed correctly. The functions should either be declared using a .def file or by using the extern "C" declarator.
证实你的驱动的入口点被正确地公开
11. Add registry information for your driver to the Platform.reg file for your OS design.
为你的驱动添加注册表信息到Platform.reg文件
12. Modify the Platform.bib file for your OS design to include your driver.
修改Platform.bib文件以包含你的驱动
13. Edit the dirs file for your OS design to include your driver.
编辑dirs文件以包含你的驱动
14. From %_WINCEROOT%\Platform\<your OS design>\Drivers\<your driver name> in your OS design, build your driver.
生成你的驱动
15. In the IDE, build your run-time image to include your driver.
在IDE中,生成你的运行时映像以包含你的驱动
16. Test your driver using the Windows Embedded CE 6.0 Test Kit (CETK).
测试你的驱动
- Windows Embedded 开发之如何创建一个设备驱动(一般性描述)
- Windows Embedded开发之如何创建一个板级支持包(一般性描述)
- Windows Embedded开发之如何开发一个Boot Loader(一般性描述)
- uboot 设备驱动之设备驱动描述
- Windows Embedded Compact2013设备 开发过程介绍
- uboot 设备驱动之设备描述
- 驱动开发之一 --- 创建一个简单的设备驱动(续) 【译文】
- linux驱动开发之字符设备--自动创建设备节点
- 驱动开发中,如何自动创建设备文件?
- 创建一个字符设备驱动
- 如何创建Qt/Embedded开发环境
- 驱动如何实现对mdev的支持(自动创建一个设备)
- 原创翻译 使用Windows Embedded Standard创建电池供电的设备(一)
- UVC设备驱动之描述符分析
- UVC设备驱动之描述符分析
- 如何开发一个WinCE 6的流设备驱动
- 如何开发一个WinCE 6的流设备驱动
- linux驱动开发之自动创建设备节点
- JSON、XML数据格式,GetJSON、Ajax、GetScript
- MFC ShowWindow(int nCmdShow)参数总结
- ORACLE ERP基本配置
- log4j.properties文件详解
- 防止IT技术人员被挖走的五大措施
- Windows Embedded 开发之如何创建一个设备驱动(一般性描述)
- 黑白图像
- 登录问题
- win7 QQ 自动隐藏和显示
- Broadcom终于觉悟 发布802.11n开源驱动
- asp.net采用DCOM连接打印报表Fastreport
- Ubuntu安装软件时无法安装问题一解
- C# 操作注册表 写入注册表 修改注册表 读取注册表
- [Android]为你的应用创建单元测试