aozima
efada8768e
[shell] set prompt mode is default enable.
2018-07-02 19:46:37 +08:00
aozima
4f1112f838
[shell] add finsh_set_prompt().
2018-07-02 16:23:00 +08:00
aozima
85e732ddaf
[shell] add finsh_get/set_prompt_mode.
2018-07-02 15:12:17 +08:00
heyuanjie
409e7fca0a
[msh]执行小程序
2018-07-02 13:47:47 +08:00
aozima
e49a29f2dc
[shell] add re-initial check.
2018-07-02 09:56:12 +08:00
MurphyZhao
6856a8b5e6
[finsh] update netstat
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-07-02 09:32:52 +08:00
Bernard Xiong
564df04da1
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2018-06-10 18:01:15 +08:00
Bernard Xiong
682da9b249
[Kernel] Remove object container in module feature.
2018-06-10 17:56:02 +08:00
tangyuxin
6bb00aa88b
[components][finsh]msh最大参数个数可配置
2018-06-07 11:55:54 +08:00
aozima
e5f6996507
[lwip] update netstat: add list_udps.
2018-05-25 22:30:14 +08:00
armink
72ec60aaa3
[components][finsh] Finsh thread using heap when RT_USING_HEAP is defined.
2018-04-23 13:28:44 +08:00
liang yongxiang
cc81b47be2
[components] fixed signed/unsigned mismatch warning
2018-04-09 12:05:51 +08:00
moebius.ever
22bcdd4bdb
[finsh] change comment "Disable the command echo mode or not in default" to "Disable the echo mode in default"
2018-03-23 17:20:17 +08:00
moebius.ever
61946325ee
[finsh] add FINSH_ECHO_DISABLE_DEFAULT and remove FINSH_ECHO_MODE_DEFAULT, to control the finsh default echo mode
2018-03-16 16:26:22 +08:00
moebius.ever
48ecbd3999
[finsh] add FINSH_ECHO_MODE_DEFAULT, to config the default echo mode of finsh
2018-03-15 12:13:40 +08:00
moebius.ever
336c946b84
[finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not and fix the bsp compile error
2018-03-15 10:50:00 +08:00
moebius.ever
5444c90ecf
[finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not
2018-03-15 10:12:17 +08:00
armink
76474b3e9d
[Components][Finsh] Fix list object name align issue.
2018-03-13 13:27:37 +08:00
Bernard Xiong
7f1db36f39
[finsh] fix the compiling warning for [-Wmisleading-indentation]
2018-03-04 12:16:52 +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
armink
013e5bd411
[Components][Finsh] Add shell getchar received error process.
2018-02-23 15:24:27 +08:00
liu2guang
a672a9e52a
[Finsh] 修复menuconfig中finsh历史命令无法关闭错误, 并将finsh未导出配置导出menuconfig.
2018-01-16 21:45:20 +08:00
armink
cfd82c260d
[Finsh] Add finsh thread name macro.
2018-01-12 17:22:14 +08:00
bernard
872975b0ab
[DFS] add df cmd in msh and provide better display.
...
re-write for #1138
2017-12-31 10:46:24 +08:00
Bernard Xiong
a3d96ed555
Use rt_object_get_information to get object chain
2017-12-12 07:38:02 +08:00
Bernard Xiong
7bc87e4ae8
[Kconfig] Rename all of KConfig files to 'Kconfig'
2017-11-30 20:12:53 +08:00
armink
82b7ecda06
[Finsh] Fix an auto complete history bug when current line is contained in last cmd.
2017-11-01 10:25:17 +08:00
armink
d3ac388846
[rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h .
2017-10-19 09:28:17 +08:00
bernard
d118852314
[finsh] code cleanup and use RT_USING_POSIX to replace RT_USING_POSIX_STDIN.
2017-10-17 22:28:05 +08:00
bernard
8a38307e2c
[libc] Add RT_USING_POSIX macro.
...
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard
3c0fbf0c7e
[finsh] Fix the C99 issue.
2017-10-17 09:45:17 +08:00
bernard
444915d1ea
[finsh] Add RT_USING_POSIX_STDIN options.
2017-10-13 11:50:18 +08:00
armink
c123451585
[Finsh] Stop push new history when current cmd is same as last cmd.
2017-10-13 10:21:40 +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
armink
c36a628ff4
[Finsh] Fix finsh password auth not valid when RT_DEBUG is not definition.
2017-08-30 20:42:36 +08:00
Aubr.Cool
e4fea38726
[Components] correct msh argc too many error
2017-07-19 15:34:15 +08:00
bernard
6515dc238c
[finsh] Add checking the result of chdir.
2017-06-15 14:37:56 +08:00
bernard
c53389e46f
[finsh] Add lwip 2.0.0 support.
2017-01-31 13:17:34 +08:00
bernard
d692001fd5
[tools] Add KConfig files.
2017-01-31 11:54:12 +08:00
armink
72e4efb46e
[finsh]Improve the set password.
2016-11-26 16:45:54 +08:00
armink
8ff7529039
[finsh] Add password authentication. Increased input security.
2016-11-26 15:23:12 +08:00
gbcwbz
5941d73604
Convert tab into spaces
2016-09-07 23:45:39 +08:00
gbcwbz
517e909c3d
[finsh]Align title and content in list_* cmd
2016-09-07 23:24:12 +08:00
Bernard Xiong
108ba3b371
[finsh] change display format for list_thread.
2016-07-13 09:37:51 +08:00
Bernard Xiong
45c7f03035
[finsh] Fix object name issue in list_* cmd.
2016-06-13 13:29:18 +08:00
Bernard Xiong
4d93c31cce
Revert "[finsh] Beautify all list object information command."
...
This reverts commit cd3b0cfff5
.
2016-06-13 11:08:23 +08:00
armink
cd3b0cfff5
[finsh] Beautify all list object information command.
2016-06-04 11:03:30 +08:00
armink
cbbe5a6edd
[finsh] Beautify the list_thread command.
2016-06-02 17:06:41 +08:00
armink
1bd8d0f75e
[finsh] Beautify the list_thread command.
2016-06-02 14:29:44 +08:00
Bernard Xiong
838141e89f
[finsh] Add echo command for msh.
2016-04-18 13:53:32 +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
hezlog
a1745986e9
Update finsh_token.c
...
修正finsh不能正确处理"\""和"\x1A"转义;
2016-01-19 12:16:30 +08:00
Bernard Xiong
d2aee25391
Merge pull request #593 from SchumyHao/master
...
finsh: change no echo mode. cpp: remove RT_USE_LIBC depends
2015-12-02 23:28:05 +08:00
SchumyHao
f1e92c63f2
finsh: check echo_mode before print '\n' when excute msh command
...
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-13 00:56:50 +08:00
www220@tom.com
86f1d4f19b
msh中增加了dns的配置函数
2015-11-04 09:37:38 +08:00
www220@tom.com
c7af45b759
msh中的mkfs命令再携带类型是,解析出错
2015-10-12 15:55:52 +08:00
Bernard Xiong
c2b5cd1e85
[Finsh] fix the '\r' issue in linux telnet.
2015-10-12 10:52:14 +08:00
Bernard Xiong
f4248a95c3
[Finsh] Add script feature for msh.
2015-10-11 15:38:08 +08:00
Bernard Xiong
3dc91bf8ab
[finsh] Code cleanup.
2015-09-24 20:58:40 +08:00
Bernard Xiong
353f511cb0
[finsh] fix the '\0' issue when use shell in linux telnet
2015-09-24 03:06:26 +00:00
Bernard Xiong
7dfac0f78e
rename .name section to .rodata.name section
2015-09-15 12:11:07 +00:00
heyuanjie87
8f9bda579a
定义Timer设备类
2015-09-06 15:18:15 +08:00
heyuanjie87
c84887d021
加入定时器设备
2015-09-02 22:00:24 +08:00
Bernard Xiong
cb51bdb245
[finsh] fix compiling warning.
2015-09-02 14:05:38 +08:00
Bernard Xiong
1079727afb
[finsh] Add .name section for exported cmd and variables.
2015-09-02 12:07:58 +08:00
Bernard Xiong
340a013f53
[finsh] export system symbol
2015-09-02 11:24:41 +08:00
Bernard Xiong
bcb9ab1317
[finsh] Add mkfs command to msh
2015-08-28 15:13:04 +08:00
ardafu
667c03db97
[FINSH] Add macro MSH_CMD_EXPORT_ALIAS
2015-07-31 11:07:54 +08:00
ardafu
084a8dcd0c
[finsh] Clear buffer before switching to new shell device
2015-05-22 16:35:01 +08:00
Bernard Xiong
8de629c0b0
[shell] Add FINSH_CMD_SIZE option.
2015-05-18 18:12:17 +08:00
Bernard Xiong
450acd3454
Revert "Add FINSH_CMD_SIZE option."
...
This reverts commit 326a7d7496
.
2015-05-18 18:08:49 +08:00
Bernard Xiong
326a7d7496
Add FINSH_CMD_SIZE option.
2015-05-18 18:08:24 +08:00
Bernard Xiong
37aa44d4f2
Fix compiling warning.
2015-04-24 11:48:25 +08:00
Grissiom
54f8b19e12
SConscript: fix the `--keep` parameter for Keil
...
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
2015-04-14 18:22:46 +08:00
bernard
5b1270455d
Fix the echo issue in the shell.
2015-03-20 12:44:58 +08:00
bernard
924264b277
Remove list_mod_detail command from msh.
2015-03-20 12:44:02 +08:00
Grissiom
099ada6699
finsh: open the finsh device with RT_DEVICE_FLAG_STREAM
2015-01-04 19:42:58 +08:00
Grissiom
cf692a4ab4
msh: use list_memheap when RT_USING_MEMHEAP_AS_HEAP is enabled
...
There is no list_mem and only list_memheap when RT_USING_MEMHEAP_AS_HEAP
is enabled.
2014-12-01 18:54:14 +08:00
limxuzheng
4fea46c83c
support rx62n
2014-11-12 01:09:43 +08:00
Grissiom
3d584266e5
finsh: allow user to disable the FINSH_USING_HISTORY
2014-10-21 16:01:08 +08:00
Grissiom
4c39f8765a
msh: free is only available when HEAP is enabled
2014-10-14 16:07:49 +08:00
Grissiom
23cc390474
msh: check path is non-null in msh_auto_complete_path
2014-10-14 16:07:19 +08:00
bernard
3b5c2e2f9f
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-09-11 12:55:18 +08:00
bernard
a8b0fe3f36
[shell] Fix compiling issue when DFS is not enable
2014-09-11 12:47:25 +08:00
weety
12136cfeb1
[finsh] fixed finsh issue.
2014-08-26 23:36:16 +08:00
bernard
02faf9edb8
[Finsh] fix device_open issue when set_device in finsh.
2014-07-20 13:57:49 +08:00
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
bernard
dcd7974794
[Finsh] Enhance mv command.
2014-06-25 17:23:28 +08:00
Grissiom
aca8f8eb2d
shell: print the ref count in `list_device`
2014-06-18 11:18:43 +08:00
Bernard Xiong
cde9139bc5
[Finsh] Fix '0' token issue.
2014-05-05 13:51:26 +08:00
Grissiom
a95370aa56
msh: remove usless ptr set
...
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
Grissiom
ec4b865579
finsh: add check on converting octal numbers
...
The digit in octal numbers should with in 0~7. Check on it in
token_proc_number. This issue is found by Clang.
2014-04-12 16:55:00 +08:00
aozima
f61773305a
MSH: add cmd netstat.
2014-04-09 13:17:21 +08:00
aozima
4fada1a13a
MSH: perfect cmd ifconfig.
2014-04-09 13:16:55 +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
8bd3e6f6dc
[Kernel] Change command line to const parameter and add system() function.
2014-04-02 14:05:15 +08:00
Grissiom
0979328fb1
[msh] don't complain on empty command
...
Just branch out and no complain on command length == 0;
2014-03-29 11:33:20 +08:00
Grissiom
c44f32e513
[msh] cd to path when possible
...
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.
In more detail, the execution order right now is:
1. built-in command
2. module
3. cd to path
If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
2014-03-27 16:41:26 +08:00
Grissiom
f9659283c0
[msh] try to complete module path
...
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
2014-03-27 15:09:53 +08:00
bernard
04b5a46179
[Finsh] fix the shell prompt issue.
2014-03-12 16:25:59 +08:00
bernard
444b928d22
Add more command to msh for module.
2014-03-12 08:47:10 +08:00
bernard
33a5abbbf8
[Finsh] Use msh as prompt when current mode is msh mode.
2014-03-11 15:54:21 +08:00
bernard
32a6f5b730
[Finsh] remove the .mo display when command is not found.
2014-02-15 10:28:38 +08:00
bernard
8778e39c9f
[Finsh] Add ifconfig command implementation.
2014-02-01 21:35:46 +08:00
bernard
ae891e2011
[Finsh] fix strncmp issue in command search
2014-01-16 22:22:23 +08:00
roamboy
1c8693c87e
Update msh.c
2014-01-13 15:57:13 +08:00
roamboy
1df4c1b962
Update msh.c
2014-01-13 15:56:20 +08:00
roamboy
849130da2c
Update msh.c
...
fix msh_exec(char* cmd, rt_size_t length) bug
2014-01-13 15:52:23 +08:00
bernard
31446eab4c
[Kernel] application module can support arguments
2014-01-11 16:33:31 +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
1f8a0668d2
[Finsh] Add features to execute module.
2014-01-03 08:01:24 +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
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
mbbill@gmail.com
4e5e1f8f55
remove some compiler warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1467 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:33:12 +00:00
bernard.xiong@gmail.com
5284d6d52e
add more device definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 03:51:38 +00:00
bernard.xiong
c2276d1719
Add finsh_get_prompt function declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1444 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-02 04:40:52 +00:00
qiuyiuestc@gmail.com
9faa3d9989
eliminate compile warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1407 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 01:18:43 +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
wuyangyong
162fbee8d6
add ALIGN(RT_ALIGN_SIZE) for finsh_heap
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1203 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-14 15:20:44 +00:00
bernard.xiong
f1a255b4be
add a default parameter to function call.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1187 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 07:54:30 +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
6ae0b45820
fix compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-01 01:54:26 +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
qiuyiuestc
384adb585d
update list_module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1098 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-23 01:20:53 +00:00
bernard.xiong@gmail.com
10732a76e9
cleanup scons building script
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
qiuyiuestc
5a8f34e46f
tetris module update
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@948 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 15:32:34 +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
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
qiuyiuestc
38c432620f
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@663 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-21 16:59:06 +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
qiuyiuestc
3baab7b053
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@660 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 17:00:51 +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
a141589522
add group setting on freemodbus, rtgui; fix finsh shell cmd data conversion issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@645 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-19 04:43:15 +00:00
bernard.xiong
5562ddf77a
add group script support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:27:13 +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