index.html

来自「scmRTOS is real-time preemptive operatin」· HTML 代码 · 共 329 行 · 第 1/2 页

HTML
329
字号
<html><head>
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>scmRTOS - ADSP-BF533 Release</title>
<link rel="icon" href="../../favicon.ico" type="ico">
<link rel="stylesheet" type="text/css" href="../../description.css" media="all" 
title="Burly Wood Style">
</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" 
leftmargin="0" rightmargin="0">

<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">

<tr id="banner" valign="top" height="75px"><td>
    <table border="0" cellpadding="0" cellspacing="0"><tr>
        <td height="72" width="60"><img src="../../scmrtos.png" hspace="4"></td>
        <td><h11><nobr>Single-Chip Microcontroller</nobr></h11><br>
        <div id="subtitle"><nobr>Real-Time Operating System</nobr></div></td>
    </tr></table>
</td></tr>

<tr><td valign="top">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr valign="top">
        <td class="menu2"><table align="left" border="0" cellpadding="4" cellspacing="8" class="gridmenu" width="100%">
<colgroup>
<col width="100%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Releases</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><a class="reference" href="../avr/index.html">AVR</a></td>
</tr>
<tr><td><a class="reference" href="../msp430/index.html">MSP430</a></td>
</tr>
<tr><td>Blackfin</td>
</tr>
<tr><td><a class="reference" href="../arm7/index.html">ARM7</a></td>
</tr>
<tr><td><a class="reference" href="../fr/index.html">FR</a></td>
</tr>
<tr><td />
</tr>
<tr><td><a class="reference" href="../../ports/index.html">Ports</a></td>
</tr>
</tbody>
</table></td>
        <td id="main">
        <div id="breadcrumbs"><a href="../../index.html">Main page</a>&nbsp;> <a href="../index.html">Releases</a>&nbsp;> Blackfin</div>
        <div id="text">
        <h1>ADSP-BF533 Release</h1><p><strong>CrossCore VisualDSP++</strong></p>
<div class="contents topic">
<p class="topic-title first"><a id="table-of-contents" name="table-of-contents">Table of Contents</a></p>
<ul class="simple">
<li><a class="reference" href="#general" id="id7" name="id7">General</a></li>
<li><a class="reference" href="#building" id="id8" name="id8">Building</a><ul>
<li><a class="reference" href="#assembler" id="id9" name="id9">Assembler:</a></li>
<li><a class="reference" href="#compiler" id="id10" name="id10">Compiler:</a></li>
<li><a class="reference" href="#linker" id="id11" name="id11">Linker:</a></li>
</ul>
</li>
<li><a class="reference" href="#utilities" id="id12" name="id12">Utilities</a><ul>
<li><a class="reference" href="#vdsp-lst-py" id="id13" name="id13">vdsp_lst.py</a></li>
<li><a class="reference" href="#get-info-py" id="id14" name="id14">get_info.py</a></li>
<li><a class="reference" href="#ldprg-py" id="id15" name="id15">ldprg.py</a></li>
<li><a class="reference" href="#utils-py" id="id16" name="id16">utils.py</a></li>
</ul>
</li>
</ul>
</div>
<hr class="docutils" />
<div class="section">
<h1><a class="toc-backref" href="#id7" id="general" name="general">General</a></h1>
<p>Release consists of the RTOS sources and three sample projects - see
<a class="reference" href="../index.html">Release description</a> for details. Each sample located in separate
folder. Structure of test project folder (folders are in brackets '[]'):</p>
<pre class="literal-block">
[Config]          - linker scripts and other utilities
[Exe]             - executable product[s]
[List]            - listings and other temporary text files
[Obj]             - objects and other intermediate files
[Src]             - test project sources
slon.vpj          - SlickEdit project file
slon.Blackfin.vpw - SlickEdit workspace file
SConstruct        - Scons main script file
</pre>
<p><strong>slon</strong> is test project name.</p>
<p>Structure of the RTOS folder:</p>
<pre class="literal-block">
scmRTOS
  Common           - common RTOS sources
  BF533            - portable part
</pre>
<hr class="docutils" />
<p>See <a class="reference" href="../index.html#distribution">Distribution section</a> and below about release using manners.</p>
</div>
<hr class="docutils" />
<div class="section">
<h1><a class="toc-backref" href="#id8" id="building" name="building">Building</a></h1>
<p>The simplest way is to employ <a class="reference" href="http://www.scons.org">SCons</a>  build system. Scons
is  actually <a class="reference" href="http://www.python.org">Python</a> script, so Python interpreter is necessary  to
use  <a class="reference" href="http://www.scons.org">SCons</a>.  <a class="reference" href="http://www.scons.org">SCons</a>, in a certain sense, is the analog  of popular build  utility make,
but much more powerful because of comprehensive underground of programming language (<a class="reference" href="http://www.python.org">Python</a>).</p>
<p>To use <a class="reference" href="http://www.scons.org">SCons</a>:</p>
<ul class="plain3 simple">
<li>download and install <a class="reference" href="http://www.python.org">Python</a> interpreter v2.4;</li>
<li>download and install <a class="reference" href="http://www.scons.org">SCons</a> tool;</li>
<li>launch <a class="reference" href="http://www.scons.org">SCons</a> by typing tool name in command line in folder
where SConstruct file (SCons main script) located <a class="footnote-reference" href="#id5" id="id2" name="id2">[1]</a>.</li>
</ul>
<div class="line-block">
<div class="line"><tt class="docutils literal"><span class="pre">$PROMPT$&gt;scons</span></tt></div>
</div>
<p>SCons will build the project.</p>
<p>If  user want to use his own build system <a class="footnote-reference" href="#id6" id="id3" name="id3">[2]</a> he has to specify the following
command-line options for various tools:</p>
<div class="section">
<h2><a class="toc-backref" href="#id9" id="assembler" name="assembler">Assembler:</a></h2>
<pre class="literal-block">
-proc ADSP-BF533
-g
-o Obj\&lt;src_name&gt;.doj
-ISrc
-I../scmRTOS/Common
-I../scmRTOS/BF533
-I$TOOLKIT_PATH$\Blackfin\include
</pre>
</div>
<div class="section">
<h2><a class="toc-backref" href="#id10" id="compiler" name="compiler">Compiler:</a></h2>
<pre class="literal-block">
-proc ADSP-BF533
-si-revision 0.3
-C
-c
-g
-c++
-Ov 80
-instantlocal
-Wsuppress cc1164
-path-output Obj
-save-temps
-ISrc
-I../scmRTOS/Common
-I../scmRTOS/BF533
-I$TOOLKIT_PATH$\Blackfin\include
</pre>
</div>
<div class="section">
<h2><a class="toc-backref" href="#id11" id="linker" name="linker">Linker:</a></h2>
<pre class="literal-block">
-proc ADSP-BF533
-si-revision 0.3
-e
-save-temps
-L Obj
-Map List\slon.xml
-o Exe\slon.dxe
-T Config\BF533cpp.ldf
-Map Config\BF533cpp.ldf
-L$TOOLKIT_PATH$\Blackfin\lib532_rev_0.3
</pre>

⌨️ 快捷键说明

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