Commit Graph

77 Commits

Author SHA1 Message Date
bernard 1ffb99e6f5 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-10-10 00:22:59 +09:00
bernard 6c5e34fa70 fix the line too long issue 2013-10-09 18:06:40 +09:00
Grissiom df4e8ff060 msh: only export cd/pwd when DFS_USING_WORKDIR is set 2013-09-26 11:50:28 +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
Grissiom c05b205390 finsh: use alias in the variable definition
With this patch, one could define two alias for the same function like:

    FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu);
    FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, __cmd_reboot, reboot the cpu);

Suitable for being used in MSH/Finsh.
2013-08-31 17:58:34 +08:00
Grissiom b4ab82284f finsh/cmd: add description for new pipe and portal device 2013-08-20 14:27:28 +08:00
bernard fa934fa7bd add shell device automatically setting for rx_ind 2013-08-19 12:46:04 +08:00
Bernard Xiong f0f0e3dd9e move commands out of DFS 2013-07-14 14:36:48 +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
Bernard Xiong d80a471680 Fix the memheap_realloc issue 2013-06-03 06:44:35 +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 009eccf640 fix the wrong strcpy issue in list() function 2013-04-04 15:32:10 +08:00
Bernard Xiong b68e34c931 strip more characters in finsh token 2013-04-03 05:31:29 -04:00
Bernard Xiong 97eadb7d8e implement a shell for module 2013-03-30 16:14:38 +08:00
prife 5d68ef8ec1 fix bug in finsh when built with 64bit-gcc 2013-01-22 12:44:47 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com 6e6d5c5b0d fixed the coding style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2572 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 05:33:46 +00: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
rogerz.zhang@gmail.com d573786d52 fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +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 9a52205a5e Add min_length initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2537 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 08:49:15 +00:00
bernard.xiong@gmail.com ee2344c582 remove the unnecessary "#pragma pack(pop)"
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2409 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 13:39:47 +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 5e1f1268a1 Includes finsh.h header file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2335 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 04:02:36 +00:00
bernard.xiong@gmail.com b07bd9b030 Change the const prefix to right position.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2294 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 05:07:14 +00:00
bernard.xiong@gmail.com e6f634955d Update SConscript file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-25 02:05:56 +00:00
bernard.xiong@gmail.com d228266e65 Remove I2C device and add PM pseudo device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 03:11:40 +00:00
luohui2320@gmail.com 72bce28791 backup to previous version
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2162 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 17:16:22 +00:00
luohui2320@gmail.com 9b8fcde8af ADD "I2C BUS Device" type in _list_device()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2161 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 17:08:43 +00:00
dzzxzz@gmail.com 43f2bfc013 add a new command list_memheap() into finsh
and unify the coding style in memheap.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2151 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-03 06:16:30 +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
bernard.xiong@gmail.com e86bd68278 fixed the mismatch of device definitions in rtdef.h and finsh shell; add line comment in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2136 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 02:42:26 +00:00
bernard.xiong@gmail.com 30a2731d43 improve the command line auto-complete feature.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2106 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-29 12:19:29 +00:00
bernard.xiong@gmail.com 3ac2f2b094 fixed finsh_var_delete issue which is found by Grissiom.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2103 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-26 22:15:27 +00:00
bernard.xiong@gmail.com 209da6823c Use precision message output in command list.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2099 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 06:04:12 +00:00
bernard.xiong@gmail.com 3ec34b8f22 Added finsh_system_init function declaration on shell.h.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2070 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:03:00 +00:00
bernard.xiong@gmail.com e19102edd5 remove rt_list_isempty function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-23 06:55:03 +00:00
bernard.xiong@gmail.com f71efa4281 use precision in list_thread function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2004 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22 06:01:22 +00:00
bernard.xiong@gmail.com 8a960a86f5 fixed finsh_sysvar_append bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1996 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-15 14:20:06 +00:00
bernard.xiong@gmail.com 2d91252fdd remove the compiling of libfinsh.a library.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1932 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:19:24 +00:00
bernard.xiong@gmail.com cb98336dc1 fix spell wrong.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1920 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-15 13:16:25 +00:00
wuyangyong 44b3b3ad87 Add more device type.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1838 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-15 13:21:34 +00:00
bernard.xiong@gmail.com 446db862dd fixed allocate node failed issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1694 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 11:17:22 +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
dzzxzz c41b9c2950 fix a compile warning
Warning[w6]: Type conflict for external/entry "list", in module symbol against external/entry in module cmd; function return types are different; different basic types 


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1683 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-29 03:31:39 +00:00
bernard.xiong bca9c66e0d use GetCurrentDir() as include path.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1563 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 05:36:42 +00:00
qiuyiuestc@gmail.com 1eca19cb01 eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-19 02:47:51 +00:00