📄 config-tool-platform-selection.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>Platform Selection</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos User Guide"HREF="ecos-user-guide.html"><LINKREL="UP"TITLE="Updating the Configuration"HREF="config-tool-updating-configuration.html"><LINKREL="PREVIOUS"TITLE="Updating the Configuration"HREF="config-tool-updating-configuration.html"><LINKREL="NEXT"TITLE="Using Templates"HREF="config-tool-using-templates.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos User Guide</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="config-tool-updating-configuration.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 19. Updating the Configuration</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="config-tool-using-templates.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="CONFIG-TOOL-PLATFORM-SELECTION">Platform Selection</H1><P>To add, modify or remove entries in the list of platforms used for running tests, select <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Tools->Platforms</I></SPAN>. The following dialog will be displayed:</P><DIVCLASS="FIGURE"><ANAME="AEN1393"><P><B>Figure 19-2. Platforms dialog box</B></P><P><IMGSRC="pix/toolsplatforms.png"></P></DIV><P>You may add, modify or remove platform entries as you wish, but in order to run tests, a platform must be defined to correspond to the currently loaded hardware template. The information associated with each platform name is used to run tests.</P><P>To modify a platform, click the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Modify</I></SPAN> button with the appropriate platform selected, or double-click on an entry in the list. A dialog will be displayed that allows you to change the command prefix, platform type and arguments for <SPANCLASS="emphasis"><ICLASS="EMPHASIS">GDB</I></SPAN>. </P><DIVCLASS="FIGURE"><ANAME="AEN1400"><P><B>Figure 19-3. Platform Modify dialog box</B></P><P><IMGSRC="pix/modifyplatform.png"></P></DIV><P>To add a new platform, click the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Add</I></SPAN> button. A similar dialog will be displayed that allows you to define a new platform. To remove a platform, click the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Delete</I></SPAN> button or press the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">DEL</I></SPAN> key with the appropriate platform selected.</P><P>The command prefix is used when running tests in order to determine the names of the executables (such as gdb) to be used. For example, if the gdb executable name is “arm-elf-gdb.exe” the prefix should be set to “arm-elf”.</P><P>The platform type indicates the capabilities of the platform- whether it is hardware or a simulator, and whether breakpointsare supported.</P><P>The arguments for the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">GDB</I></SPAN> field allowadditional arguments to be passed to gdb when it is used to runa test. This is typically used in the case of simulators linkedto gdb in order to define memory layout.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="config-tool-updating-configuration.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-user-guide.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="config-tool-using-templates.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Updating the Configuration</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="config-tool-updating-configuration.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Using Templates</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -