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

📄 c-project4.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>       </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="c-project.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-project.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-project3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-project5.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="84417">7.4  &nbsp;&nbsp;Testing</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84419"> </a>Copy a Tornado BSP that uses the same CPU as the one you want to test. For example:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84421"></b><tt class="output">% </tt><b>cd <i class="textVariable">installDir</i>/target/config </b><tt class="output">% </tt><b>cp -r mv1604 mv1604_<i class="textVariable">Tool</i></a></b></pre></dl><dd><p class="Body"><a name="84423"> </a>Go to your newly created BSP directory and edit the makefile. Change the line <b class="command">"TOOL=gnu"</b> to <b class="command">"TOOL=</b><i class="textVariable">Tool</i><b class="command">"</b>. Also invert the order of the following two lines:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84426"></b><tt class="output">% </tt><b>include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)  </b><tt class="output">% </tt><b>include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)</a></b></pre></dl><dd><p class="Body"><a name="84428"> </a>This allows the toolchain-specific build macros to override all other default definitions. Then go into the BSP directory and type <b class="command">make release</b>. This builds several images, depending on the BSP. It usually builds: <p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84647"> </a> <b class="symbol_lc">vxWorks</b> </p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84649"> </a> standard vxWorks image </p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84651"> </a> <b class="symbol_lc">vxWorks.st</b> </p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84653"> </a> vxWorks with built-in symbol table </p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84655"> </a> <b class="symbol_lc">bootrom.hex</b> </p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84657"> </a> bootrom </p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84659"> </a> <b class="symbol_lc">bsp2prj</b> </p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="84661"> </a> project facility image </p></td><td width="10">&nbsp;</td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></p><dd><p class="Body"><a name="84440"> </a>Once everything is working, test it from the project facility. Try creating "downloadable application" projects for your toolchain and building them. Try creating a "system image" project from a BSP that uses GNU as the default toolchain. From the "build view", create a "new build" and create the build by using your new toolchain. Verify that image builds.</p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-project.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-project.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-project3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-project5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

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