Commit Graph

83 Commits

Author SHA1 Message Date
bernard c45f5a2490 [Drivers] re-write serial framework. 2014-07-18 06:45:54 +08:00
bernard f44f6caadb [Finsh] Fix command line size issue in finsh. 2014-07-10 13:35:28 +08:00
Grissiom 841898abe2 [shell] define FINSH_PROMPT as finsh_get_prompt when FINSH_USING_MSH enabled
When MSH enabled, the prompt will change at the two shells. So we should
use dynamic prompt when FINSH_USING_MSH defined.
2014-04-08 15:12:44 +08:00
bernard 04b5a46179 [Finsh] fix the shell prompt issue. 2014-03-12 16:25:59 +08:00
bernard 33a5abbbf8 [Finsh] Use msh as prompt when current mode is msh mode. 2014-03-11 15:54:21 +08:00
bernard 6a624356e4 [Finsh] code cleanup 2014-01-04 06:02:33 +08:00
bernard 8a56e181bd [Finsh] cleanup the code style 2014-01-03 07:15:25 +08:00
bernard b924104129 Add FINSH_USING_MSH_ONLY option 2014-01-01 23:14:45 +08:00
bernard a5ba2a24f7 add file and path name auto completion for module shell 2014-01-01 21:45:09 +08:00
prife b79b9be19f finsh: fix finsh device setting
1. rt_console_get_device should be call to set shell device only when it is null, or it will make finsh_set_device useless.
2. RT_USING_CONSOLE can be disabled in bsp/rtconfig.h
2013-11-18 21:17:49 +08:00
Grissiom 1e01252824 finsh: refactor the control key handling
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
Grissiom 6d2df9bf94 finsh: unregister rx_indicate when closing the device
Because the device could still remain opened when closed by finsh, the
old rx_indicate is useless for finsh. Some buggy driver will still
generate rx_indicate even after the device has been closed. So FinSh
should unregister the rx_indicate when releasing the old device.
2013-09-22 22:12:04 +08:00
bernard fa934fa7bd add shell device automatically setting for rx_ind 2013-08-19 12:46:04 +08:00
Bernard Xiong b0c1f8a79b Add device checking when set_device. 2013-07-05 21:02:47 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Grissiom 27ee5b627b finsh: add CCS support 2013-05-29 23:37:43 +08:00
user 06c6630bbf fix compiling warning in finsh shell 2013-04-04 14:12:35 -04:00
Bernard Xiong 97eadb7d8e implement a shell for module 2013-03-30 16:14:38 +08:00
bernard.xiong@gmail.com 9a8fbc6f17 fix some compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2571 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 04:17:31 +00:00
bernard.xiong@gmail.com c84d99706f fix some compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2543 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:12:14 +00:00
bernard.xiong@gmail.com 42a59720a9 Add more checking for _MSC_VER compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2394 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-05 07:01:49 +00:00
bernard.xiong@gmail.com 1c425607c3 fixed mutex issue in memheap; fixed compiling issue in kservice.c when COMPILER is not defined; add finsh for win32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2365 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 03:12:21 +00:00
bernard.xiong@gmail.com 3ad6f43ff3 Added VisualDSP++ Compiler support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2137 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 06:50:06 +00:00
wuyangyong 694a78f154 add const for fsymtab and vsymtab
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1692 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-02 10:54:01 +00:00
bernard.xiong@gmail.com a32bda9ec7 fix variable section end issue in finsh shell, which submit by aozima.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1288 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-22 23:30:59 +00:00
bernard.xiong@gmail.com 46914144c9 add current path in prompt.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1184 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 00:05:50 +00:00
bernard.xiong@gmail.com 7a80d831c9 update doxygen comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong a3e2556360 change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@782 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:09:13 +00:00
bernard.xiong 6254665cfe reduce finsh shell memory usage.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@765 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-09 10:00:08 +00:00
bernard.xiong f419a1711b remove thread dump
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@764 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-09 07:54:40 +00:00
bernard.xiong@gmail.com 1e1b85b9c7 clean up finsh shell code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@734 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-25 23:54:45 +00:00
bernard.xiong@gmail.com f056176486 add macro definition for shell thread priority and stack size.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@726 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 13:35:35 +00:00
bernard.xiong b90694ead1 move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@635 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:02:04 +00:00