⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-builder1.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Projects   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-builder.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-builder.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-builder2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="83915">4.1  &nbsp;&nbsp;Introduction</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85252"> </a>The project facility is a key element of the Tornado IDE. It provides graphical and automated mechanisms for creating applications that can be downloaded to VxWorks, for configuring VxWorks with selected features, and for creating applications that can be linked with a VxWorks image and started when the target system boots. The project facility provides mechanisms for:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88721"> </a>Organizing the files that make up a project.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="85310"> </a>Grouping related projects into a workspace.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88714"> </a>Customizing and scaling VxWorks.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88742"> </a>Adding application initialization routines to VxWorks.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="85299"> </a>Defining varied sets of build options.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88763"> </a>Building applications and VxWorks images.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88764"> </a>Downloading application objects to the target.</li></ul></p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/note.gif"></td><td><hr><div class="CalloutCell"><a name="102029"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE:  </font></b></a>For a tutorial introduction to the project facility and its use with the integrated version of the VxWorks target simulator and other Tornado tools, see the <i class="title">Tornado Getting Started Guide</i>.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/warning.gif"></td><td><hr><div class="CalloutCell"><a name="105098"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">WARNING:  </font></b></a>Use of the project facility for configuring and building applications is largely independent of the methods used prior to Tornado 2.0 (which included manually editing the configuration files <b class="file">config.h</b> or <b class="file">configAll.h</b>). The project facility provides the recommended and simpler means for configuration and building, although the manual method may still be used (see <i class="title">VxWorks Programmer's Guide: Configuration and Build</i>). <br> <br>To avoid confusion and errors, the two methods should not be used together for the same project. The one exception is for any configuration macro that is not accessible through the project facility GUI (which may be the case, for example, for some BSP driver parameters). You can use a <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Find Object </font></b>dialog box to determine if a macro is accessible or not (see <a href="c-builder3.html#90586"><i class="title">Finding VxWorks Components and Configuration Macros</i></a>). If it is not accessible through the GUI, a configuration file must be edited, and the project facility will implement the change in the subsequent build.  <br> <br>The order of precedence for determining configuration is (in descending order): <br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;project facility  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="file">config.h</b>  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="file">configAll.h <br></b> <br>For any macro that is exposed through the project facility GUI, changes made after creation of a project in either of the configuration files will not appear in the project.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="103191">Terminology</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="93649"> </a>There are several key terms that you must understand before you can use the project facility effectively:</p></dl><dl class="margin"><dd><div class="Item"><a name="93724"> </a><i class="term">Downloadable application</i> </div><dl class="margin"><dd><div class="Indent"><a name="93727"> </a>A downloadable application consists of one or more relocateable object modules,<sup><a href="#foot"><b class="FootnoteMarker">1</b></a></sup> which can be downloaded and dynamically linked to VxWorks, and then started from the shell or debugger. A novel aspect of the Tornado development environment is the dynamic loader, which allows objects to be loaded onto a running system. This provides much faster debug cycles compared with having to rebuild and re-link the entire operating system. A downloadable application can consist of a single file containing a simple "hello world" routine, or a complex application consisting of many files and modules that are partially linked as a single object (which is created automatically by the project facility as <i class="textVariable">projectName</i><b class="file">.out</b>).</div><br></dl><dd><div class="Item"><a name="93725"> </a><i class="term">Bootable application</i></div><dl class="margin"><dd><div class="Indent"><a name="93726"> </a>A bootable application consists of an application linked to a VxWorks image. The VxWorks image can be configured by including and excluding components of the operating system, as well as by resetting operating system parameters. A bootable application starts when the target is booted.</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -