misonyo
97c930cd65
[components]add rt_device_ops for adc device and fix finsh_getchar() return wrong value in Big-endian status.
2019-03-23 09:47:45 +08:00
misonyo
14e048aa8e
[components/shell] shell will not work if ch is none zero as random value in stack
...
The serial getchar will only modify the LSB of ch, the MSB 3 bytes
will be unchanged as the random value on stack, so if MSB 3 bytes
not zero, the value got is wrong.
2019-03-13 22:05:03 +08:00
armink
3e4a93cc91
Delete the unused '--keep' link flag when used RT_USED marco.
2019-03-12 11:40:53 +08:00
gbcwbz
860f8d954d
[finsh] change return type of finsh_getchar from ch to int
...
finsh_getchar invokes getchar, who's return type is int, and return value may < 0, which means error occurred or EOF.
finsh should handle that situation properly, and inform user about the error.
2019-03-10 15:50:03 +08:00
guozhanxin
64813b6b07
add first version
2019-02-12 14:09:34 +08:00
Bernard Xiong
c2a85453b3
[finsh] Add RUNNING stat in thread
2019-01-13 14:22:13 +08:00
shaojinchun
fdfc7e541a
修正rt_object_get_information参数类型不匹配警告
2018-12-27 17:48:38 +08:00
shaojinchun
ed9a558da9
list_*时,提供对第一层object的原子保护
2018-12-27 16:31:22 +08:00
shaojinchun
3f79a78393
修正list_thread关中断时间过长的问题
2018-12-26 11:51:35 +08:00
zhaohengbo
afcd8b4521
fix some bug when stack grows upward
2018-12-15 11:20:24 +08:00
shaojinchun
fc6bc1ad39
Add smp support to RT-Thread 4.0
2018-11-22 18:16:47 +08:00
Bernard Xiong
46dae3f35f
Merge branch 'master' into dev-4.0.x
2018-11-20 23:13:45 +08:00
Bernard Xiong
00a655ac1c
[Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD option
2018-11-11 15:56:02 +08:00
chenchaoqun@rt-thread.com
931cdb1f6f
[finsh/shell] compatible definition for cube package
2018-11-07 14:31:32 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +08:00
Bernard Xiong
9064b28c2a
[license] Change license to Apache.
2018-10-14 19:28:18 +08:00
Bernard Xiong
b98a0ba804
[Kernel] Add ARMCC 6.x support.
2018-09-23 12:08:44 +08:00
Bernard Xiong
ba5c1bea44
[dlmodule] Add cache ops in dlmodule.
2018-09-01 11:00:42 +08:00
Bernard Xiong
07ec7e686d
Merge pull request #1754 from liangyongxiang/rt-used
...
add RT_USED to component init and finsh shell
2018-08-31 18:41:44 +08:00
liang yongxiang
7c0c1c1b4a
[finsh] add RT_USED to macro FINSH_FUNCTION_EXPORT_CMD and FINSH_VAR_EXPORT
2018-08-31 15:02:01 +08:00
Bernard Xiong
efe4523132
[Kernel] move module tolibc/libdl.
2018-08-30 20:27:45 +08:00
Bernard Xiong
b9255c20d2
[finsh] Remove chdir feature in msh
2018-07-26 17:09:39 +08:00
armink
4c92650fde
[components][finsh] Fix shell re-initialization check code to supported C89.
2018-07-17 12:52:02 +08:00
Bernard Xiong
39998e4d89
Merge pull request #1602 from aozima/re_initial_dev
...
add re-initial check.
2018-07-04 07:15:45 +08:00
Bernard Xiong
33fb280140
Merge pull request #1601 from aozima/shell_dev
...
update shell prompt.
2018-07-04 07:15:03 +08:00
Bernard Xiong
eb821ae031
Merge pull request #1598 from heyuanjie87/lwp
...
[msh]执行小程序
2018-07-02 21:03:58 +08:00
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