使用Nios II軟件構建工具
This chapter describes the Nios® II Software Build Tools (SBT), a set of utilities and
scripts that creates and builds embedded C/C++ application projects, user library
projects, and board support packages (BSPs). The Nios II SBT supports a repeatable,
scriptable, and archivable process for creating your software product.
You can invoke the Nios II SBT through either of the following user interfaces:
■ The Eclipse™ GUI
■ The Nios II Command Shell
The purpose of this chapter is to make you familiar with the internal functionality of
the Nios II SBT, independent of the user interface employed.
面向Eclips的Nios II軟件構建工具手冊
The Nios® II Software Build Tools (SBT) for Eclipse™ is a set of plugins based on the
Eclipse™ framework and the Eclipse C/C++ development toolkit (CDT) plugins. The
Nios II SBT for Eclipse provides a consistent development platform that works for all
Nios II embedded processor systems. You can accomplish all Nios II software
development tasks within Eclipse, including creating, editing, building, running,
debugging, and profiling programs.
uc/os-ii for 8051
This package provides the sources required to use the uC/OS-II v2.00
real time kernel on the 8051 processor. To use this package you will
need the TASKING C Compiler toolset v6.0r1 or higher.
For info on TASKING products you can contact our Web-site at:
http://www.tasking.com
Unzip the zipfile in the root of the drive where you also installed
the uC/OS-II general sources. The following directories will be
added:
\SOFTWARE\UCOS-II\8051
This directory contains the microprocessor specific source code
\SOFTWARE\UCOS-II\ex1_8051r
This directory contains the project files for the first example
\SOFTWARE\UCOS-II\ex2_8051r
This directory contains the project files for the second example
UCOS/II for ICCAVR
- The version of UCOS/II is 2.04
- the original port was done by Ole Saether for the IAR compiler. Jens E.
Holtegaard ported one version using ICCAVR. Joerg Meyer did another port
(using Jens port as a start?). This is basically Joerg s port plus a
little bit of changes and documentation by me.
- YOU MUST DOWNLOAD THE MAIN PART OF THE UCOS/II FROM THE UCOS/II WEBSITE
http://www.ucos-ii.com . The supplied project file assumes the portable
source is in the ..\source directory.
- Joerg has written couple document showing the stack frames etc. but it
is in German :-) They are included in this directory.
- The Timer2 overflow interrupt is used for Timer Tick. If you want to
change that, modify os_cpu_c.c and os_cpu_a.s
- I have tested this using ATMega103 with and without external RAM
using AVR Studio simulator. See test1.c test program. Both Code
Compressed (PRO) and STD versions have been tested.