ucosii4skyeye184

所属分类:uCOS/RTOS
开发工具:Unix_Linux
文件大小:272KB
下载次数:47
上传日期:2006-04-11 10:41:13
上 传 者Newton81
说明:  基于uCOS操作系统的功能强大的源代码,包括shell,lwip支持AT91处理器
(based on the powerful operating system source code, including the shell, lwip support porting processor)

文件列表:
ucosii4skyeye184\arch\atmel-arch\at91.h (1142, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_aic.c (2643, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_aic.h (993, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_init.c (3199, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_init.h (737, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_tc.c (2006, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_tc.h (2485, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_usart.c (3091, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\at91_usart.h (2380, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch\CVS\Entries (480, 2003-08-22)
ucosii4skyeye184\arch\atmel-arch\CVS\Repository (31, 2003-08-22)
ucosii4skyeye184\arch\atmel-arch\CVS\Root (40, 2003-08-22)
ucosii4skyeye184\arch\atmel-arch\CVS (0, 2006-04-11)
ucosii4skyeye184\arch\atmel-arch\start.S (1372, 2003-05-17)
ucosii4skyeye184\arch\atmel-arch (0, 2006-04-11)
ucosii4skyeye184\arch\CVS\Entries (3, 2003-08-22)
ucosii4skyeye184\arch\CVS\Entries.Log (20, 2003-08-22)
ucosii4skyeye184\arch\CVS\Repository (20, 2003-08-22)
ucosii4skyeye184\arch\CVS\Root (40, 2003-08-22)
ucosii4skyeye184\arch\CVS (0, 2006-04-11)
ucosii4skyeye184\arch (0, 2006-04-11)
ucosii4skyeye184\Changelog (202, 2003-05-17)
ucosii4skyeye184\CVS\Entries (190, 2003-08-22)
ucosii4skyeye184\CVS\Entries.Log (91, 2003-08-22)
ucosii4skyeye184\CVS\Repository (15, 2003-08-22)
ucosii4skyeye184\CVS\Root (40, 2003-08-22)
ucosii4skyeye184\CVS (0, 2006-04-11)
ucosii4skyeye184\document\chinese\CVS\Entries (127, 2003-08-22)
ucosii4skyeye184\document\chinese\CVS\Repository (32, 2003-08-22)
ucosii4skyeye184\document\chinese\CVS\Root (40, 2003-08-22)
ucosii4skyeye184\document\chinese\CVS (0, 2006-04-11)
ucosii4skyeye184\document\chinese\genie-shell4ucosii.txt (2871, 2003-05-17)
ucosii4skyeye184\document\chinese\usarthardwareanddriver.txt (4203, 2003-05-17)
ucosii4skyeye184\document\chinese (0, 2006-04-11)
ucosii4skyeye184\document\CVS\Entries (3, 2003-08-22)
ucosii4skyeye184\document\CVS\Entries.Log (17, 2003-08-22)
ucosii4skyeye184\document\CVS\Repository (24, 2003-08-22)
ucosii4skyeye184\document\CVS\Root (40, 2003-08-22)
ucosii4skyeye184\document\CVS (0, 2006-04-11)
ucosii4skyeye184\document (0, 2006-04-11)
... ...

/************************************************************************************** * Sample Applications on SkyEye * * * * Author: Li Ming Yang Ye Chen Yu * * * * Release Version: 1.6 * * Release Date: 2003-02-14 13:46:13 * * Bugs Report: liming(lmcs00@mails.tsinghua.edu.cn) * * * *************************************************************************************/ There are three sample applications, they are in samples/ directory. 1) samples/simple_test This demo shows a very simple process which is an endless loop, during the loop, timer will envoke a Time ISR which is system_isr, user_hook_isr could also be added into this ISR for user's printing. 2) samples/ucos_test This demo shows two tasks running on ucos-II, task1 is to get user's input, while task2 is to print user's last input 2 times. Because task1 has the higher priority, it alsways runs firstly. After user has given a sentence, task1 go to sleep, task2 will run. 3) samples/lwip_on_ucos_test This demo shows tasks use lwip on ucos. The host system's ip is 10.0.0.1, and the simulated system's ip is 10.0.0.2. When this demo is running, you can do some commands in host system: ping 10.0.0.2 test ping function of demo telenet 10.0.0.2 7 test echo server function of demo Notice: This sample ONLY run under linux for now!( The reason is that "skyey for cygwin" doesn't include a nic) 4) samples/ucos_serial This demo shows tasks get uart input by interrupt method. 5) samples/ucos_shell This demo shows a simple shell. Some docuemnts are in ucosii/doucment direcotory. There are documents for sample 3,4,5 in our website. Please refer to skyeye website for more details Features: 0. multitask scheduling by ucosii-core [ ver1.0 ] 1. working both on linux and cygwin. [ ver1.1 ] (excepts the samples/lwip_on_ucos_test) 2. printf function to print info [ ver1.2 ] 3. getc, gets function to get user input [ ver1.3 ] 4. support uC/OS-II version 2.51 [ ver1.4 ] putc, puts function also added. 5. re-organized structure of whole project [ ver1.5 ] 6. new version of makefile [ ver1.6b1 on 2003-02-14 ] net/lwip (lwip version 0.5.3) is added. 7. support uart interrupt [ ver1.6b2 on 2003-02-18 ] Please to visit http://hpclab.cs.tsinghua.edu.cn/~skyeye/ to get the newest version! -------------------------------------------------------------------------------------- to run this case from the very beginning, you just do following steps in each sample directory: 1. make cleanall 2. make config 3. make dep 4. make 3. make test in skyeye program, you just do following steps: 1. target sim 2. load 3. run Be sure to "make config", everytime you build this project on another environment. It will generate the config file: compiler.config for you. Before you do step 2 to compile this project: 1. make sure you have arm-linux/elf-* cross-compiler installed on your computer 2. make sure you have these two file: 'libc.a' 'libgcc.a' under LIBPATH ( maybe you need to copy the file libc.a to LIBPATH by hand, I did it :) Before you want to do step 3, be sure the skyeye program is in the same directory -------------------------------------------------------------------------------------- Notice: in CONFIG_FILE( compiler.config ) mentioned in makefile # if you use arm-elf-gcc in linux environment, use CROSS_COMPILE = arm-elf- LIBPATH = -L/usr/local/lib/gcc-lib/arm-elf/2.95.3/ #if you use arm-linux-gcc in cygwin environment, use CROSS_COMPILE = arm-linux- LIBPATH = -L/lib/gcc-lib/arm-linux/2.95.3 The LIBPATH could be different on your computer, so you may need to modify the CONFIG_FILE to make these settings working for you! -------------------------------------------------------------------------------------- if any bugs, please email to: lmcs00@mails.tsinghua.edu.cn or: chenyu@hpclab.cs.tsinghua.edu.cn or: yangye@163.net

近期下载者

相关文件


收藏者