ucos-gcc
所属分类:uCOS/RTOS
开发工具:C/C++
文件大小:15KB
下载次数:48
上传日期:2005-07-14 12:42:58
上 传 者:
管理员
说明: ucos-ii-gcc UCOS-II在AVR单片机上的应用 利用GCC开发环境
(CENTER-ii- gcc UCOS-II in the AVR on the use of GCC Application Development Environment)
文件列表:
ucos_ii_avr_gcc (0, 2003-05-05)
ucos_ii_avr_gcc\TEST (0, 2003-05-05)
ucos_ii_avr_gcc\TEST\test.c (14281, 2001-04-03)
ucos_ii_avr_gcc\TEST\includes.h (963, 2001-04-02)
ucos_ii_avr_gcc\TEST\os_cfg.h (3467, 1999-06-22)
ucos_ii_avr_gcc\TEST\build.bat (31, 2001-04-02)
ucos_ii_avr_gcc\TEST\makefile (2289, 2001-04-03)
ucos_ii_avr_gcc\SOURCE (0, 2003-05-05)
ucos_ii_avr_gcc\SOURCE\os_cpu_a.asm (13176, 2001-04-03)
ucos_ii_avr_gcc\SOURCE\os_cpu.h (4318, 2001-04-03)
ucos_ii_avr_gcc\SOURCE\os_cpu_c.c (10049, 2001-04-03)
ucos_ii_avr_gcc\SOURCE\avr85xx.x (3804, 2001-04-03)
ucos_ii_avr_gcc\SOURCE\avrmega103.x (3797, 2001-04-03)
ucos_ii_avr_gcc\OBJ (0, 2003-05-05)
ucos_ii_avr_gcc\OBJ\os_cpu_c.o (41, 2001-04-03)
ucos_ii_avr_gcc\LST (0, 2003-05-05)
ucos_ii_avr_gcc\LST\os_cpu_c.lst (41, 2001-04-03)
ucos_ii_avr_gcc\DOC (0, 2003-05-05)
uC/OS-II, The Real-Time Kernel
Atmel AT90/AVR Port
for AVR-GCC
READ ME FILE
Acknowledgements:
Most files in this port is based on the Atmel AVR port for the IAR compiler by
Ole Saether. Without his work, porting to avr-gcc would have taken much longer.
------------------------------- AVR C COMPILER --------------------------------
1) This version of the avr-gcc port is based on version 2.95.2 of avr-gcc.
Versions of this can be found at :
http://8bit.at/avr/
http://www.gwdg.de/~mrickma/avr/
http://home.overta.ru/users/denisc/
2) It is assumed that the command line version of the GCC compiler is installed
as described in the compiler documentation.
--------------------------------- AVR PORT NOTES ------------------------------
1) The port ZIP file should be unpacked, retaining the directory structure, into
the "standard" UCOS-II directory :
\SOFTWARE\uCOS-II\
After unpacking, you should have the following sub-directories:
\SOFTWARE\uCOS-II\AT-AVR\GCC\SOURCE
This directory contains the port source files.
\SOFTWARE\uCOS-II\AT-AVR\GCC\TEST
This directory contains the sample test code (i.e. TEST.C), as well as
the makefile and BUILD.BAT which is used to compile, assemble and link
the test code.
\SOFTWARE\uCOS-II\AT-AVR\GCC\OBJ
This directory contains the object files produced by the compiler and
assembler.
\SOFTWARE\uCOS-II\AT-AVR\GCC\LST
This directory contains the 'listing' files produced by the compiler and
the assembler. For the C compiler, these files contain the interleaved
C source along with the assembly language code generated by the compiler.
\SOFTWARE\uCOS-II\AT-AVR\GCC\DOC
Contains this readme file and any other documentation that comes with
the port.
2) The SOURCE directory also contains two modified linker script files, one for
the At90S8515 CPU and one for the Atmega103 CPU. These files contains the
necessary modifications to allow the .bss section to exist in the external
RAM. They both assume a 32K RAM. If you have more or less, you should modify
these scripts.
3) The port supports both the At90S8515 and the Atmega103 CPU's. The selection
is done by commenting two lines in the makefile.Only the makefile and linker
scripts should need to be changed for other CPU's.
4) TIMER0 overflow interrupt is used to generate the clock tick (see
OS_CPU_A.ASM).
5) The code was tested on a STK200 using an AT90S8515 CPU. It was also tested
on a mega103 CPU on a Opticompo board. I have not tried running the code on
the AVR Studio Simulator, as first attempts crashed AVR Studio (Ver. 3.22).
The port should work equally well on the AT90S4414 device as long as enough
(external) RAM is provided.
6) You will also need the source code for uC/OS-II to recompile this port. The
uC/OS-II source is included in Jean Labrosse's book "MicroC/OS-II, The Real
Time Kernel".More information about uC/OS-II can be found at www.ucos-ii.com
or www.micrium.com
----------------------------- REPORTING PROBLEMS ------------------------------
If you find a bug in this port, do not hesitate to report the problem to me
(Jesper Hansen):
1) Through e-mail: jesperh@telia.com
Make sure that the problem you are reporting is in this port and not in your
application.
Enjoy!!
------------------------------ AVR RELEASE NOTES ------------------------------
April 2, 2001: V1.00
-----------------------
1) First release of AVR port for AVR-GCC
近期下载者:
相关文件:
收藏者: