没有合适的资源?快使用搜索试试~ 我知道了~
wr_vxworks_platforms_getting_started_6.9.pdf
5星 · 超过95%的资源 需积分: 50 32 下载量 35 浏览量
2021-02-19
14:48:09
上传
评论 2
收藏 1.04MB PDF 举报
温馨提示
试读
87页
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币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1