usage_page.html.primary
来自「澳洲人写的Cortex,包括uC_IP协议栈」· PRIMARY 代码 · 共 1,357 行 · 第 1/4 页
PRIMARY
1,357 行
<HTML><HEAD><TITLE>CORTEX V1.00.00: Getting Started Guide</TITLE><!-- Created by: Vadim Azarovsky, 4-Jan-1999 --><!-- Changed by: Vadim Azarovsky, 14-Sep-1999 --></HEAD><BODY><A NAME="top"></A><HR><TABLE compact><TR><TD> <IMG align=middle border=0 src="icons/artesys_logo.gif"><TD> <IMG align=middle border=0 src="icons/cortex_logo.gif"><TD> <BIG><B>V1.00.00: Getting Started Guide</B></BIG> </TR></TABLE><HR><!--<P align="center"><IMG src="icons/uconstr1.gif"></P><HR>--><P>This document describes how to install the <B>CORTEX's</B> distribution on your host system, what are the major components it composed fromand how to start to use them.</P><H2>Table Of Contents</H2><UL><LI> <A HREF="#hdr_1">Installation procedures</A><LI> <A HREF="#hdr_2">Distribution directory structure</A><LI> <A HREF="#hdr_3">Host system operating environment</A><LI> <A HREF="#hdr_4">Target system operating environment</A><LI> <A HREF="#hdr_5">Release identification</A><LI> <A HREF="#hdr_6">Environmental variables</A><LI> <A HREF="#hdr_7">Gmake-configuration files</A><LI> <A HREF="#hdr_8">Gmake targets</A><LI> <A HREF="#hdr_9">Gmake macros</A><LI> <A HREF="#hdr_10">How to invoke gmake</A><LI> <A HREF="#hdr_11">Application directory structure</A><LI> <A HREF="#hdr_12">How to setup configuration files for a new development tool</A><LI> <A HREF="#hdr_13">How to define a new board support package</A></UL><A NAME="hdr_1"></A><H2>Installation procedures<A HREF="#top"><IMG src="icons/blank4.gif" border=0><IMG src="icons/jump.gif" border=0></A></H2><P>The <B>CORTEX</B> distribution is available for down-loadingfrom the <A HREF="http://www.artesys.com.au">www.artesys.com.au</A> web-sitewhich is the official source of the <B>RTOS CORTEX</B> distribution.<P>The distribution archive is produced by archiving the <B>CORTEX</B> directorytree with UNIX <B>tar</B> archiver and compressing it with <B>gzip</B>utility. All text files are in the UNIX text format.<P>To install the <B>CORTEX</B> distribution follow the following steps:<P><PRE>1) Create the distribution root directory (the default name is ~/artesys). <I>$ mkdir ~/artesys</I>2) Down-load the <B>CORTEX</B> distribution archive <I><B>cortex.1.00.00.tar.gz</B></I> from the web-site and put it to the distribution root directory created at step 1.3) Uncompress the archive file by using <B>gunzip</B> utility: <I>$ gunzip cortex.1.00.00.tar.gz</I> Unix tar-archive file shall be produced as a result: <B>cortex.1.00.00.tar</B>4) Extract the contents of the archive by executing the following command: <I>$ tar xvf cortex.1.00.00.tar</I> <B>The important note for Windows users:</B> On MS-Windows based hosts (Windows-95, Windows-98, Windows-NT) <B><I>WinZip</I></B> utility can be used to perform steps 3) and 4). If it doesn't work rename <B>cortex.1.00.00.tar</B> to <B>cortex.gz</B> and try again. Note that all text files are encoded in the UNIX text format and you may want to instruct <I><B>WinZip</B></I> to convert them to the MS-DOS format.5) In addition you can also install cgi-scripts from <I>cortex/cgi-bin</I> into your httpd/cgi-bin directory. Simply copy the the entire contents of cortex/cgi-bin to httpd/cgi-bin and point your browser to <A HREF="distmap.html" target=_top><I>http://localhost/cgi-bin/artesys/<<B>root_dir</B>>/cortex/doc/distmap.html</I></A> If artesys cgi-filter is not uses point you browser to <A HREF="distmap.html" target=_top><I>file:/<<B>root_dir</B>>/cortex/doc/distmap.html</I></A></PRE><P><A NAME="hdr_2"></A><H2>Distribution directory structure<A HREF="#top"><IMG src="icons/blank4.gif" border=0><IMG src="icons/jump.gif" border=0></A></H2>The <B>CORTEX</B> is distributed as a single archive file which contains the following directory strucure:<P><TABLE compact><TR><TH valign=top align=left><A HREF="../../cortex">cortex/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%><I><B>CORTEX</B></I> distribution root directory. Created by extracting information from the distribution archive.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../kernel">kernel/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../kernel/src">src/</A></TH><TH valign=top align=left><BR></TH><TD width=100%>Contains the source of all CPU independent kernel services and include files.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports">ports/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>Contains packages specific for all supported CPU platforms. Every port is located in the individual directory with the name chosen to highlight the name of the particular CPU. The names of the packages are the same for all ports and specify the kernel components they relate to.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/tms320c3">tms320c3/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/tms320c3/src">src/</A></TH><TD width=100%>Contains the source code and specification files for TI TMS320C3X DSP</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/h8300h">h8300h/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/h8300h/src">src/</A></TH><TD width=100%>Contains the source code and specification files for Hitachi H8/3003 micro-controller</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/h8s">h8s/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/h8s/src">src/</A></TH><TD width=100%>Contains the source code and specification files for Hitachi H8S micro-controller</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/posix4">posix4/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../ports/posix4/src">src/</A></TH><TD width=100%>Contains the source code and specification files POSIX.4 environment. This port allowes to compile <B>CORTEX</B> based application which can be executed on UNIX platform. This port was tested on SUN SPARC workstation running Solaris 2.6</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../excore">excore/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../excore/src">src/</A></TH><TH valign=top align=left><BR></TH><TD width=100%>Contains CPU independent packages which are considered as an extension to the existing kernel's core services. They are not required for the kernel to operate, but provide some additional functionality which can be useful for applications. For example, <B><A HREF="../excore/src/prn_defs.h">PRN</A></B> package wraps around <A HREF="fmt.html" target=_top>formatted I/O package</A> to provide C-style printf()/sprintf() serivices and <I><B><A HREF="sdr.html" target=_top>SDR </A></B></I> package implements a generic serial device driver.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports">exports/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>Sources for CPU specific extensions.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/tms320c3">tms320c3/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/tms320c3/src">src/</A></TH><TD width=100%>Extensions for TI TMS320C3X DSP platform</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/h8300h">h8300h/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/h8300h/src">src/</A></TH><TD width=100%>Extensions for Hitachi H8/3003 micro-controller</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/h8s">h8s/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/h8300h/src">src/</A></TH><TD width=100%>Extensions for Hitachi H8S micro-controller</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/posix4">posix4/</A></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exports/posix4/src">src/</A></TH><TD width=100%>Extensions for POSIX.4 (real-time) environment. This port was tested on SUN SPARC workstation running Solaris 2.6</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exdevs">exdevs/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%><BR></TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exdevs/src">src/</A></TH><TH valign=top align=left><BR></TH><TD width=100%>Source code for CPU independent devices such as source code for <A HREF="552.html" target=_top>16C552 serial UART</A> is located here.</TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../exbsp">exbsp/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>Board Support Pakages (BSP) are used to describe a set of hardware platforms supported by this distribution. Contains packages for custom build boards as well as packages for evaluation modules. All new BSPs shall be described here.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../bsp">bsp/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>Contains linker command files for all supported target platforms.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../libs">libs/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>This directory can be used to produce and store pre-compiled CORTEX's libraries.</TD></TR><TR><TH valign=top align=left><BR></TH><TH valign=top align=left><A HREF="../doc">doc/</A></TH><TH valign=top align=left><BR></TH><TH valign=top align=left><BR></TH><TD width=100%>Contains all on-line documentation files available with the distribution. Use <A HREF="distmap.html" target=_top>the distribution map page (doc/distmap.html) </A> page as the starting point.</TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?