摘要: VxWorks默认提供一个shell,这个shell 的任务名为“tShell”,优先级.为1,通常情况下用来处理键盘输入,终端调试等。我们要实现的是主命令行和Shell命令行间的切换,主要设计思想是通过主命令行创建tShell任务,重定向其输入、输出。主命令行中的串口初始化和定向如下:ttyDevCreate ("/tyCo/0", sysSerialChanGet (i... 阅读全文
posted @ 2010-10-13 23:42 cihu 阅读(4507) 评论(0) 推荐(0)
摘要: /* usrLib.c - user interface subroutine library */ /* Copyright 1984-2002 Wind River Systems, Inc. */ #include "copyright_wrs.h" /* modification history -------------------- 09d,14may... 阅读全文
posted @ 2010-10-13 23:37 cihu 阅读(3748) 评论(0) 推荐(0)