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

📄 config-tool.sgml

📁 eCos操作系统源码
💻 SGML
📖 第 1 页 / 共 4 页
字号:
<LISTITEM><PARA>Save the contents of the window to a		  file</PARA></LISTITEM><LISTITEM><PARA>Clear the contents of the		  window</PARA></LISTITEM></ITEMIZEDLIST></SECT3><SECT3><TITLE>Properties Window</TITLE><PARA>This window displays the CDL properties of the item	      currently selected in the configuration window. The same	      information may be displayed by right-clicking the item	      and selecting &ldquo;properties&rdquo;.</PARA><PARA>	      <GRAPHIC ENTITYREF="graphic9"></GRAPHIC></PARA><PARA>Two properties may be double-clicked as	    follows:</PARA><ITEMIZEDLIST><LISTITEM><PARA><EMPHASIS>URL</EMPHASIS> &ndash;		  double-clicking on a URL property causes the		  referenced HTML page to be displayed. This has the		  same effect as right-clicking on the item and		  choosing &ldquo;Visit		  Documentation&rdquo;.</PARA></LISTITEM><LISTITEM><PARA><EMPHASIS>File</EMPHASIS> &ndash;		  double-clicking on a File property in a saved		  configuration causes the File to be displayed. The		  viewer used for this purpose may be changed using		  the <EMPHASIS>View-&gt;Settings</EMPHASIS> menu		  item. Note that this operation is only possible when		  the current configuration is saved, in order to		  avoid the possibility of changing the source		  repository.</PARA></LISTITEM></ITEMIZEDLIST></SECT3><SECT3><TITLE>Short Description Window</TITLE><PARA>This window displays a short description of the item	      currently selected in the configuration window. More	      extensive documentation may be available by	      right-clicking on the item and choosing &ldquo;Visit	      Documentation&rdquo;.</PARA></SECT3></SECT2></SECT1></CHAPTER><!-- }}} -->  <!-- {{{ Updating and Configuration     --><CHAPTER id="config-tool-updating-configuration"><TITLE>Updating the Configuration</TITLE><SECT1 id="config-tool-adding-removing-packages"><TITLE>Adding and Removing Packages</TITLE><PARA>To add or remove packages from the configuration, select	  <EMPHASIS>Build</EMPHASIS>-&gt;<EMPHASIS>Packages</EMPHASIS>.<!--<conditionaltext>--> 	    The following dialog box will be displayed:</PARA><FIGURE><TITLE>Packages dialog box</TITLE><GRAPHIC ENTITYREF="graphic14"></GRAPHIC></FIGURE><PARA>The left-hand list shows those packages that are available to	  be loaded. The right-hand list shows those that are	  currently loaded. In order to transfer packages from one	  list to another (that is, to load or unload packages)	  double-click the selection or click the	  <EMPHASIS>Add</EMPHASIS> or <EMPHASIS>Remove</EMPHASIS>	  buttons.</PARA><PARA>The version drop-down list displays the versions of the	  selected packages. When loading packages, this control may	  be used to load versions other than the most recent	  (current). Note that if more than one package is selected,	  the version drop-down list will display only the versions	  common to all the selected packages.</PARA><PARA>The window under the version displays a brief	  description of the selected package. If more than one	  package is selected, this window will be blank.</PARA><PARA>	Under the description window there is a <EMPHASIS>Keywords</EMPHASIS>control into which you can type a string to be matched againstpackage names, macro names and descriptions. The lists are updateda second or so after typing has stopped.If you type several separate words,all of these words must be associated with a given packagefor that package to be displayed. If you selectthe <EMPHASIS>Match exactly</EMPHASIS> checkbox, then the stringis taken to be a complete fragment and matched against the beginningof a name, macro name or descriptions. All matches are donecase-insensitively.</PARA><PARA>If you check <EMPHASIS>Omit hardware packages</EMPHASIS>, onlynon-hardware packages will be shown.</PARA></SECT1><SECT1 id="config-tool-platform-selection"><TITLE>Platform Selection</TITLE><PARA>To add, modify or remove entries in the list of	  platforms used for running tests, select	  <EMPHASIS>Tools-&gt;Platforms</EMPHASIS>. The following	  dialog will be displayed:</PARA><FIGURE><TITLE>Platforms dialog box</TITLE><GRAPHIC ENTITYREF="graphic15"></GRAPHIC></FIGURE><PARA>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.</PARA><PARA>To modify a platform, click the	  <EMPHASIS>Modify</EMPHASIS> 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	  <EMPHASIS>GDB</EMPHASIS>. </PARA><FIGURE><TITLE>Platform Modify dialog box</TITLE><GRAPHIC ENTITYREF="graphic16"></GRAPHIC></FIGURE><PARA>To add a new platform, click the	  <EMPHASIS>Add</EMPHASIS> button. A similar dialog will be	  displayed that allows you to define a new platform. To	  remove a platform, click the <EMPHASIS>Delete</EMPHASIS>	  button or press the <EMPHASIS>DEL</EMPHASIS> key with the	  appropriate platform selected.</PARA><PARA>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	  &ldquo;arm-elf-gdb.exe&rdquo; the prefix should be set to	  &ldquo;arm-elf&rdquo;.</PARA><PARA>The platform type indicates the capabilities of the platform- whether it is hardware or a simulator, and whether breakpointsare supported.</PARA><PARA>The arguments for the <EMPHASIS>GDB</EMPHASIS> 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.</PARA></SECT1><SECT1 id="config-tool-using-templates"><TITLE>Using Templates</TITLE><PARA>To load a configuration based on a template, select	  <EMPHASIS>Build</EMPHASIS>-&gt;<EMPHASIS>Templates</EMPHASIS>.<!--<conditionaltext>--></PARA><PARA>The following dialog box will be displayed:</PARA><FIGURE><TITLE>Templates dialog box</TITLE><GRAPHIC ENTITYREF="graphic18"></GRAPHIC></FIGURE><PARA>Change the hardware template, the packages template, or	  both. To select a hardware template, choose from the first	  drop-list. To choose a packages template, choose from the	  second. Brief descriptions of each kind of template are	  provided in the corresponding edit boxes.</PARA><SECT2 id="resolving-conflicts"><TITLE>Resolving conflicts</TITLE><PARA>During the process of configuring <productname>eCos</productname> it is possible	    that conflicts will be created. For more details of the	    meaning of conflicts, see <xref linkend="cdl-concepts">.</PARA><PARA>The Conflicts Window displays all conflicts in the	    current configuration. Additionally, a window in the	    status bar displays a count of the conflicts. Because the	    resolution of conflicts can be time-consuming, a mechanism	    exists whereby conflicts can be resolved	    automatically.</PARA><PARA>You can choose to have a conflicts resolution dialog	    box displayed by means of the <EMPHASIS>View-&gt;Settings...	      <!--<conditionaltext>--></EMPHASIS>menu item, on the <EMPHASIS>Conflict Resolution</EMPHASIS>tab of the dialog.</PARA><FIGURE><TITLE>Options</TITLE><GRAPHIC ENTITYREF="graphic19"></GRAPHIC></FIGURE><PARA>You can choose to have conflicts checked under the	    following circumstances:</PARA><ITEMIZEDLIST><LISTITEM><PARA>After any item is changed (in other words,		as soon as the conflict is created)</PARA></LISTITEM><LISTITEM><PARA>Before saving the configuration (including		building)</PARA></LISTITEM><LISTITEM><PARA>Never</PARA></LISTITEM></ITEMIZEDLIST><PARA>The method you chose depends on how much you need		your configuration to be free of conflicts. You may		want to avoid having to clean up all the conflicts at		once, or you may want to keep the configuration		consistent at all times. If you have major changes to		implement, which may resolve the conflicts, then you		might want to wait until after you have completed		these changes before you check for conflicts.</PARA><!-- <label>NOTE</label> --><NOTE><PARA>If you choose to check conflicts after any item	      is changed, only newly arising conflicts are displayed.	      If you choose to check for conflicts before saving the	      configuration, the complete set is	      displayed.</PARA></NOTE></SECT2><SECT2><TITLE>Automatic resolution</TITLE><PARA>If you check the &ldquo;Automatically suggest	    fixes&rdquo; check box, a conflicts resolution dialog box	    will be displayed whenever new conflicts are created. The	    same dialog box may be displayed at any stage by means of	    the <EMPHASIS>Tools-&gt;Resolve Conflicts</EMPHASIS>	    <EMPHASIS><!--<conditionaltext>--></EMPHASIS>menu item.	    </PARA><PARA>The conflicts resolution dialog box contains two major windows. </PARA><FIGURE><TITLE>Resolve conflicts window</TITLE><GRAPHIC ENTITYREF="graphic20"></GRAPHIC></FIGURE><PARA>The upper contains the set of conflicts to be addressed; theformat of the data being as that of the Conflicts Window. The lowerwindow contains a set of proposed resolutions &ndash; each entryis a suggested configuration item value change that as a whole maybe expected to lead to the currently selected conflict being resolved. </PARA><PARA>Note that there is no guarantee:</PARA><ITEMIZEDLIST><LISTITEM><PARA>that automatic resolutions will be determinable for everyconflict.</PARA></LISTITEM><LISTITEM><PARA>	that the resolutions for separate conflicts will be independent.In other words, the resolution of one conflict may serve to preventthe resolution of another.</PARA></LISTITEM><LISTITEM><PARA>	that the resolution conflicts will not create furtherconflicts.</PARA></LISTITEM></ITEMIZEDLIST><PARA>The above warnings are, however, conservative. In practice(so long as the number and extent of conflicts are limited) automaticconflict resolution may be used to good effect to correct problemswithout undue amounts of programmer intervention.</PARA><PARA>In order to select the conflicts to be applied, select orclear the check boxes against the resolutions for each proposedresolution. By default all resolutions are selected; you can returnto the default state (in other words, cause all check boxes foreach conflict to again become checked) by pressing the &ldquo;Reset&rdquo; button.Note that multiple selection may be used in the resolutions controlto allow ranges of check boxes to be toggled in one gesture.</PARA><PARA>When you are happy to apply the selected resolutions for eachconflict displayed, click <EMPHASIS>Apply</EMPHASIS>; this willapply the resolutions. Alternatively you may cancel from the dialogbox without any resolutions being applied.</PARA></SECT2></SECT1></CHAPTER><!-- }}} -->  <!-- {{{ Searching                      --><CHAPTER id="config-tool-searching"><TITLE>Searching</TITLE><PARA>Select <EMPHASIS>Edit </EMPHASIS>--&gt; <EMPHASIS>Find</EMPHASIS>.You will be presented with a Find dialog box:</PARA><FIGURE><TITLE>Find dialog box</TITLE><GRAPHIC ENTITYREF="graphic21"></GRAPHIC></FIGURE><PARA>Using this dialog box you can search for an exact text stringin any one of three ways, as specified by your selection in the &ldquo;Searchin&rdquo; drop-list:</PARA><ITEMIZEDLIST><LISTITEM><PARA>Macro names - the search is for a text match withinconfiguration item macro names</PARA></LISTITEM><LISTITEM><PARA>			Item names - the search is for a text match withinconfiguration item descriptive names</PARA></LISTITEM><LISTITEM><PARA>			Short descriptions - the search is for a text matchwithin configuration item short descriptions</PARA></LISTITEM></ITEMIZEDLIST><PARA>Note that to invoke <EMPHASIS>Find</EMPHASIS> you can alsoclick the <EMPHASIS>Find</EMPHASIS> icon on the toolbar. </PARA></CHAPTER><!-- }}} -->  <!-- {{{ Building                       --><CHAPTER id="config-tool-building"><TITLE>Building</TITLE><PARA>When you have configured <productname>eCos</productname>, you may build the configuration.</PARA><PARA><!--<conditionaltext>-->On the <EMPHASIS>Build</EMPHASIS> menu, click:</PARA><ITEMIZEDLIST><LISTITEM><PARA>			<EMPHASIS>Library</EMPHASIS> (or click the Build Library icon on the toolbar) &ndash; thiscauses the <productname>eCos</productname> configuration to be built. The result of a successfulbuild will be (among other things) a library against which usercode can be linked</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Tests</EMPHASIS> &ndash; this causes the <productname>eCos</productname> configuration to be built, andadditionally builds the relevant test cases linked against the <productname>eCos</productname> library</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Clean</EMPHASIS> &ndash; this removes all intermediate files, thus causing asubsequent build/library or build/tests operationto cause recompilation of all relevant files.</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Stop</EMPHASIS> &ndash; this causes a currently executing build (any of theabove steps) to be interrupted</PARA></LISTITEM></ITEMIZEDLIST><PARA>Build options may be displayed by using the <EMPHASIS>Build-&gt;Options</EMPHASIS> menuitem. This displays a dialog box containing a drop-list controland two windows. The drop-list control allows you to select thetype of build option to be displayed (for example &ldquo;LDFLAGS&rdquo; arethe options applied at link-time. The left-hand window is a treeview of the packages loaded in the current configuration. The right-handwindow is a list of the build options that will be used for thecurrently selected package.</PARA><PARA>Note that this dialog box currently affords only read-onlyaccess to the build options. In order to change build options youmust edit the relevant string configuration item.</PARA><PARA>A single level of inheritance is supported: each package&rsquo;sbuild options are combined with the global options (these are tobe found in the &ldquo;Global build options&rdquo; folderin the configuration view).</PARA><PARA><GRAPHIC ENTITYREF="graphic22"></GRAPHIC></PARA><SECT1 id="config-tool-selecting-build-tools"><TITLE>Selecting Build Tools</TITLE><PARA>Normally the installation process will supply the informationrequired for the <productname>eCos</productname><APPLICATION>Configuration Tool</APPLICATION> tolocate the build tools (compiler, linker, etc.) necessaryto perform a build. However if this information is not registered,or it is necessary to specify the location manually (for example,when a new toolchain installation has been made), select <EMPHASIS>Tools</EMPHASIS>-&gt;<EMPHASIS>Paths</EMPHASIS>-&gt;<EMPHASIS>BuildTools</EMPHASIS>. The following dialog box will be displayed:</PARA><FIGURE><TITLE>Build tools</TITLE><GRAPHIC ENTITYREF="graphic23"></GRAPHIC></FIGURE><PARA>This dialog box allows you to locate the folder containingthe build tools. </PARA></SECT1><SECT1 id="config-tool-selecting-user-tools"><TITLE>Selecting User Tools</TITLE><PARA>Normally the installation process will supply the informationrequired for the <productname>eCos</productname><APPLICATION>Configuration Tool</APPLICATION> tolocate the user tools (cat, ls, etc.) necessary to performa build. However if this information is not registered, or it isnecessary to specify the location manually (for example, when anew toolchain installation has been made), select <EMPHASIS>Tools</EMPHASIS>-&gt;<EMPHASIS>Paths</EMPHASIS>-&gt;<EMPHASIS>UserTools</EMPHASIS>. The following dialog box will be displayed:</PARA><FIGURE><TITLE>User tools</TITLE><GRAPHIC ENTITYREF="graphic24"></GRAPHIC>

⌨️ 快捷键说明

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