Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
RT-Thread
rt-thread
提交
9d55baa7
R
rt-thread
项目概览
RT-Thread
/
rt-thread
大约 1 年 前同步成功
通知
777
Star
8911
Fork
4735
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9d55baa7
编写于
11月 07, 2018
作者:
B
Bernard Xiong
提交者:
GitHub
11月 07, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1953 from ErnestChen1/master
[finsh/shell] compatible definition for cube package
上级
6e6f12ac
931cdb1f
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
32 addition
and
8 deletion
+32
-8
components/finsh/cmd.c
components/finsh/cmd.c
+6
-0
components/finsh/msh.c
components/finsh/msh.c
+4
-0
components/finsh/msh_cmd.c
components/finsh/msh_cmd.c
+4
-4
components/finsh/msh_file.c
components/finsh/msh_file.c
+5
-4
components/finsh/shell.c
components/finsh/shell.c
+5
-0
components/finsh/symbol.c
components/finsh/symbol.c
+8
-0
未找到文件。
components/finsh/cmd.c
浏览文件 @
9d55baa7
...
...
@@ -28,6 +28,9 @@
*/
#include <rtthread.h>
#ifdef RT_USING_FINSH
#include "finsh.h"
long
hello
(
void
)
...
...
@@ -831,3 +834,6 @@ void list_prefix(char *prefix)
static
int
dummy
=
0
;
FINSH_VAR_EXPORT
(
dummy
,
finsh_type_int
,
dummy
variable
for
finsh
)
#endif
#endif
/* RT_USING_FINSH */
components/finsh/msh.c
浏览文件 @
9d55baa7
...
...
@@ -9,6 +9,9 @@
* 2014-01-03 Bernard msh can execute module.
* 2017-07-19 Aubr.Cool limit argc to RT_FINSH_ARG_MAX
*/
#include <rtthread.h>
#ifdef FINSH_USING_MSH
#include "msh.h"
#include <finsh.h>
...
...
@@ -610,3 +613,4 @@ void msh_auto_complete(char *prefix)
}
#endif
#endif
/* FINSH_USING_MSH */
components/finsh/msh_cmd.c
浏览文件 @
9d55baa7
...
...
@@ -10,11 +10,12 @@
*/
#include <rtthread.h>
#include <finsh.h>
#ifdef FINSH_USING_MSH
#include <finsh.h>
#include "msh.h"
#ifdef FINSH_USING_MSH
#ifdef RT_USING_DFS
#include <dfs_posix.h>
...
...
@@ -418,5 +419,4 @@ int cmd_free(int argc, char **argv)
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_free
,
__cmd_free
,
Show
the
memory
usage
in
the
system
.);
#endif
#endif
#endif
/* FINSH_USING_MSH */
components/finsh/msh_file.c
浏览文件 @
9d55baa7
...
...
@@ -9,11 +9,11 @@
*/
#include <rtthread.h>
#include <finsh.h>
#include "msh.h"
#if defined(FINSH_USING_MSH) && defined(RT_USING_DFS)
#include <finsh.h>
#include "msh.h"
#include <dfs_posix.h>
static
int
msh_readline
(
int
fd
,
char
*
line_buf
,
int
size
)
...
...
@@ -137,4 +137,5 @@ int msh_exec_script(const char *cmd_line, int size)
return
ret
;
}
#endif
#endif
/* defined(FINSH_USING_MSH) && defined(RT_USING_DFS) */
components/finsh/shell.c
浏览文件 @
9d55baa7
...
...
@@ -20,6 +20,8 @@
#include <rthw.h>
#ifdef RT_USING_FINSH
#include "finsh.h"
#include "shell.h"
...
...
@@ -847,3 +849,6 @@ int finsh_system_init(void)
return
0
;
}
INIT_APP_EXPORT
(
finsh_system_init
);
#endif
/* RT_USING_FINSH */
components/finsh/symbol.c
浏览文件 @
9d55baa7
...
...
@@ -7,6 +7,11 @@
* Date Author Notes
* 2010-03-22 Bernard first version
*/
#include <rtthread.h>
#ifdef RT_USING_FINSH
#include "finsh.h"
long
hello
(
void
);
...
...
@@ -63,3 +68,6 @@ struct finsh_syscall *_syscall_table_end = &_syscall_table[sizeof(_syscall_tab
struct
finsh_sysvar
*
_sysvar_table_begin
=
NULL
;
struct
finsh_sysvar
*
_sysvar_table_end
=
NULL
;
#endif
#endif
/* RT_USING_FINSH */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录