Commit Graph

28 Commits

Author SHA1 Message Date
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong f9a7ba050a [finsh] convert tab to space and split export API to finsh_api.h 2018-03-01 21:01:20 +08:00
bernard 95ab8c02aa [finsh] Use standard uint type for data type.
Use uint8_t/uint32_t etc to replace u_char/u_long etc;
Use getchar for shell input.
2017-10-10 14:27:34 +08:00
Bernard Xiong f0fc48922b [finsh] use the macro definition instead of the const number in the code 2016-03-01 10:56:46 +08:00
Bernard Xiong 7dfac0f78e rename .name section to .rodata.name section 2015-09-15 12:11:07 +00:00
Bernard Xiong 1079727afb [finsh] Add .name section for exported cmd and variables. 2015-09-02 12:07:58 +08:00
ardafu 667c03db97 [FINSH] Add macro MSH_CMD_EXPORT_ALIAS 2015-07-31 11:07:54 +08:00
bernard 02faf9edb8 [Finsh] fix device_open issue when set_device in finsh. 2014-07-20 13:57:49 +08:00
Bernard Xiong abdcd80dcd [Finsh] Add more command in msh 2014-01-05 14:57:58 +08:00
bernard 6a624356e4 [Finsh] code cleanup 2014-01-04 06:02:33 +08:00
bernard a5ba2a24f7 add file and path name auto completion for module shell 2014-01-01 21:45:09 +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 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
prife 5d68ef8ec1 fix bug in finsh when built with 64bit-gcc 2013-01-22 12:44:47 +08: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 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 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 8dfab786e1 add FINSH_FUNCTION_EXPORT_ALIAS preprocessor in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1142 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 13:29:51 +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 914e281892 add more stub for newlib porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-26 10:21:24 +00:00
bernard.xiong 146d88b050 fix the rt_uint32_t type conversion.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@662 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-21 02:00:40 +00:00
bernard.xiong 760349dd5e add type conversion in finsh.h file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@659 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 08:12:24 +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