没有合适的资源?快使用搜索试试~ 我知道了~
首页wr_vxworks_platforms_getting_started_6.9.pdf
wr_vxworks_platforms_getting_started_6.9.pdf
5星 · 超过95%的资源 需积分: 50 32 下载量 157 浏览量
更新于2023-03-03
评论 2
收藏 1.04MB PDF 举报
wr_vxworks_platforms_getting_started_6.9.pdf
资源详情
资源评论
资源推荐
Wind River
®
VxWorks
®
Platforms
GETTING STARTED
6.9
Edition 2
Copyright © 2011 Wind River Systems, Inc.
All rights reserved. No part of this publication may be reproduced or transmitted in any
form or by any means without the prior written permission of Wind River Systems, Inc.
Wind River, Tornado, and VxWorks are registered trademarks of Wind River Systems,
Inc. The Wind River logo is a trademark of Wind River Systems, Inc. Any third-
party trademarks referenced are the property of their respective owners. For further
information regarding Wind River trademarks, please see:
www.windriver.com/company/terms/trademark.html
This product may include software licensed to Wind River by third parties. Relevant
notices (if any) are provided in your product installation at one of the following locations:
installDir/product_name/3rd_party_licensor_notice.pdf
installDir/legal-notices/
Wind River may refer to third-party documentation by listing publications or providing
links to third-party Web sites for informational purposes. Wind River accepts no
responsibility for the information provided in such third-party documentation.
Corporate Headquarters
Wind River
500 Wind River Way
Alameda, CA 94501-1153
U.S.A.
Toll free (U.S.A.): 800-545-WIND
Telephone: 510-748-4100
Facsimile: 510-749-2010
For additional contact information, see the Wind River Web site:
www.windriver.com
For information on how to contact Customer Support, see:
www.windriver.com/support
Wind River® VxWorks® Platforms
Getting Started
6.9
Edition 2
28 October 2011
Contents
iii
1 Overview .................................................................................................... 1
1.1 Introduction .................................................................................................................. 1
1.1.1 Wind River Workbench ................................................................................ 1
1.1.2 The Workbench Debugger ........................................................................... 1
1.1.3 vxprj ................................................................................................................. 2
1.2 Workflow ....................................................................................................................... 2
2 Additional Documentation ....................................................................... 5
2.1 Introduction .................................................................................................................. 5
2.2 Introductory Documentation ..................................................................................... 5
2.3 Online Documentation ............................................................................................... 6
2.3.1 Online Manuals .............................................................................................. 6
2.3.2 Context-Sensitive Help ................................................................................. 6
2.3.3 Man Pages ....................................................................................................... 6
3 Setting Environment Variables ............................................................... 9
3.1 Introduction .................................................................................................................. 9
3.2 Setting Environment Variables on Windows ......................................................... 9
3.3 Setting Environment Variables on Solaris and Linux .......................................... 10
4 Compiling Source Code ........................................................................... 11
4.1 Introduction .................................................................................................................. 11
4.1.1 Prebuilt Libraries ........................................................................................... 12
Wind River® VxWorks® Platforms
Getting Started, 6.9
iv
4.2 Compiling Source Code Using Workbench ........................................................... 13
4.2.1 Creating the VSB Project .............................................................................. 13
4.2.2 Configuring the VSB Project ........................................................................ 14
4.2.3 Compiling the VSB Project ........................................................................... 15
4.3 Compiling Source Code From the Command Line .............................................. 16
4.4 Compiling the VxWorks Operating System Source Code in User Mode .......... 19
5 Creating a VxWorks Image Project ........................................................ 21
5.1 Introduction .................................................................................................................. 21
5.2 Creating a VxWorks Image Project Using Workbench ......................................... 22
5.3 Creating a VxWorks Image Project From the Command Line ............................ 23
6 Adding Components to Your VxWorks Image Project .......................... 25
6.1 Introduction .................................................................................................................. 25
6.2 Component Types ........................................................................................................ 26
6.2.1 Shell Command Components ...................................................................... 26
6.2.2 System Log Facility Components ............................................................... 26
6.2.3 System Variable Components ...................................................................... 27
6.2.4 Interface Configuration Components ......................................................... 27
6.2.5 Loopback Interface Components ................................................................ 27
6.2.6 Network Interface Components .................................................................. 27
6.3 Required Components ................................................................................................ 28
6.3.1 Components Added by Default .................................................................. 28
6.3.2 Other Required Components ....................................................................... 29
6.4 Useful Components ..................................................................................................... 30
6.5 Adding Components Using Workbench ................................................................. 30
6.6 Adding Components From the Command Line .................................................... 31
7 Modifying Component Parameters ......................................................... 33
7.1 Introduction .................................................................................................................. 33
7.2 Modifying Component Parameters Using Workbench ........................................ 34
7.3 Modifying Component Parameters From the Command Line ........................... 34
Contents
v
7.4 Network Interface Example ....................................................................................... 35
8 Creating a Downloadable Kernel Module Project ................................. 37
8.1 Introduction .................................................................................................................. 37
8.2 Creating a Project Using Workbench ...................................................................... 37
8.3 Creating a Project From the Command Line ......................................................... 38
9 Writing Application Code ........................................................................ 39
9.1 Introduction .................................................................................................................. 39
9.2 Downloading the Files from the Wind River Online Support Web Site .......... 40
9.3 Using the Workbench Editor ..................................................................................... 40
9.4 Text for tcpExample.h ................................................................................................. 41
9.5 Text for tcpServer.c ...................................................................................................... 41
9.6 Text for tcpClient.c ...................................................................................................... 43
10 Adding Source Files to Your Application Project ................................. 47
10.1 Introduction .................................................................................................................. 47
10.2 Using the Import Dialog Box .................................................................................... 47
11 Building Your Project .............................................................................. 49
11.1 Introduction .................................................................................................................. 49
11.2 Building the Project Using Workbench .................................................................. 49
11.2.1 Adding Your DKM Project to Your VxWorks Image Project ................... 49
11.2.2 Building Your Projects Separately ............................................................... 50
11.3 Building the Project From the Command Line ..................................................... 50
11.3.1 Statically Linking Your Modules with the VxWorks Image .................... 51
11.3.2 Building Your Projects Separately ............................................................... 51
12 Installing the Host Connection Driver .................................................... 53
12.1 Introduction .................................................................................................................. 53
12.2 Installing on Windows XP Hosts ............................................................................. 53
12.3 Installing on Windows Vista Hosts ......................................................................... 54
剩余86页未读,继续阅读
JL_Gao
- 粉丝: 181
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- stc12c5a60s2 例程
- Android通过全局变量传递数据
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1