Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
AdRainty
rt-thread
提交
e18d4494
R
rt-thread
项目概览
AdRainty
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
e18d4494
编写于
9月 05, 2021
作者:
mysterywolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
上级
31061873
变更
30
隐藏空白更改
内联
并排
Showing
30 changed file
with
41 addition
and
63 deletion
+41
-63
bsp/at91sam9260/platform/interrupt.c
bsp/at91sam9260/platform/interrupt.c
+1
-3
bsp/at91sam9260/platform/reset.c
bsp/at91sam9260/platform/reset.c
+2
-3
bsp/at91sam9g45/platform/interrupt.c
bsp/at91sam9g45/platform/interrupt.c
+1
-3
bsp/at91sam9g45/platform/reset.c
bsp/at91sam9g45/platform/reset.c
+2
-4
bsp/beaglebone/applications/board.c
bsp/beaglebone/applications/board.c
+1
-2
bsp/dm365/drivers/davinci_emac.c
bsp/dm365/drivers/davinci_emac.c
+1
-1
bsp/dm365/platform/interrupt.c
bsp/dm365/platform/interrupt.c
+1
-2
bsp/dm365/platform/reset.c
bsp/dm365/platform/reset.c
+2
-4
bsp/fm33lc026/libraries/HAL_Drivers/drv_common.c
bsp/fm33lc026/libraries/HAL_Drivers/drv_common.c
+1
-1
bsp/hk32/hk32f030c8-mini/board/board.c
bsp/hk32/hk32f030c8-mini/board/board.c
+1
-1
bsp/mb9bf506r/drivers/nand.c
bsp/mb9bf506r/drivers/nand.c
+1
-1
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sys.c
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sys.c
+2
-4
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sys.c
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sys.c
+3
-4
bsp/nv32f100x/board/src/board.c
bsp/nv32f100x/board/src/board.c
+2
-9
bsp/qemu-vexpress-a9/drivers/audio/drv_ac97.c
bsp/qemu-vexpress-a9/drivers/audio/drv_ac97.c
+1
-1
bsp/qemu-vexpress-a9/drivers/audio/drv_pl041.c
bsp/qemu-vexpress-a9/drivers/audio/drv_pl041.c
+2
-1
bsp/simulator/drivers/board.c
bsp/simulator/drivers/board.c
+1
-1
bsp/w60x/drivers/drv_standby.c
bsp/w60x/drivers/drv_standby.c
+1
-1
components/drivers/can/can.c
components/drivers/can/can.c
+1
-2
components/drivers/rtc/alarm.c
components/drivers/rtc/alarm.c
+1
-1
components/drivers/wlan/wlan_cmd.c
components/drivers/wlan/wlan_cmd.c
+1
-1
components/net/lwip-1.4.1/src/apps/ping/ping.c
components/net/lwip-1.4.1/src/apps/ping/ping.c
+1
-1
components/net/lwip-2.0.2/src/apps/ping/ping.c
components/net/lwip-2.0.2/src/apps/ping/ping.c
+1
-1
components/net/lwip-2.0.3/src/apps/ping/ping.c
components/net/lwip-2.0.3/src/apps/ping/ping.c
+1
-1
components/net/lwip-2.1.2/src/apps/ping/ping.c
components/net/lwip-2.1.2/src/apps/ping/ping.c
+1
-1
components/net/netdev/src/netdev.c
components/net/netdev/src/netdev.c
+4
-5
components/vbus/vbus.c
components/vbus/vbus.c
+1
-1
examples/file/readspeed.c
examples/file/readspeed.c
+1
-1
examples/file/readwrite.c
examples/file/readwrite.c
+1
-1
examples/file/writespeed.c
examples/file/writespeed.c
+1
-1
未找到文件。
bsp/at91sam9260/platform/interrupt.c
浏览文件 @
e18d4494
...
...
@@ -413,7 +413,6 @@ void list_irq(void)
}
#include <finsh.h>
FINSH_FUNCTION_EXPORT
(
list_irq
,
list
system
irq
);
#ifdef FINSH_USING_MSH
int
cmd_list_irq
(
int
argc
,
char
**
argv
)
...
...
@@ -421,8 +420,7 @@ int cmd_list_irq(int argc, char** argv)
list_irq
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_list_irq
,
__cmd_list_irq
,
list
system
irq
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_list_irq
,
list_irq
,
list
system
irq
);
#endif
#endif
#endif
...
...
bsp/at91sam9260/platform/reset.c
浏览文件 @
e18d4494
...
...
@@ -38,15 +38,14 @@ int cmd_reset(int argc, char** argv)
rt_hw_cpu_reset
();
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
int
cmd_shutdown
(
int
argc
,
char
**
argv
)
{
rt_hw_cpu_shutdown
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
restart
the
system
.);
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_shutdown
,
__cmd_shutdown
,
shutdown
the
system
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_shutdown
,
shutdown
,
shutdown
the
system
);
#endif
#endif
...
...
bsp/at91sam9g45/platform/interrupt.c
浏览文件 @
e18d4494
...
...
@@ -445,7 +445,6 @@ void list_irq(void)
}
#include <finsh.h>
FINSH_FUNCTION_EXPORT
(
list_irq
,
list
system
irq
);
#ifdef FINSH_USING_MSH
int
cmd_list_irq
(
int
argc
,
char
**
argv
)
...
...
@@ -453,8 +452,7 @@ int cmd_list_irq(int argc, char** argv)
list_irq
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_list_irq
,
__cmd_list_irq
,
list
system
irq
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_list_irq
,
list_irq
,
list
system
irq
);
#endif
#endif
#endif
...
...
bsp/at91sam9g45/platform/reset.c
浏览文件 @
e18d4494
...
...
@@ -30,7 +30,6 @@ void machine_shutdown(void)
#ifdef RT_USING_FINSH
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_hw_cpu_reset
,
reset
,
restart
the
system
);
#ifdef FINSH_USING_MSH
int
cmd_reset
(
int
argc
,
char
**
argv
)
...
...
@@ -38,15 +37,14 @@ int cmd_reset(int argc, char** argv)
rt_hw_cpu_reset
();
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
int
cmd_shutdown
(
int
argc
,
char
**
argv
)
{
rt_hw_cpu_shutdown
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
restart
the
system
.);
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_shutdown
,
__cmd_shutdown
,
shutdown
the
system
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_shutdown
,
shutdown
,
shutdown
the
system
);
#endif
#endif
...
...
bsp/beaglebone/applications/board.c
浏览文件 @
e18d4494
...
...
@@ -163,5 +163,4 @@ void rt_hw_cpu_reset(void)
REG32
(
PRM_DEVICE
(
prcm_base
))
=
0x1
;
RT_ASSERT
(
0
);
}
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
);
MSH_CMD_EXPORT_ALIAS
(
rt_hw_cpu_reset
,
reboot
,
reboot
the
cpu
);
bsp/dm365/drivers/davinci_emac.c
浏览文件 @
e18d4494
...
...
@@ -1751,7 +1751,7 @@ int cmd_dump_emac_stats(int argc, char** argv)
dump_emac_stats
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_dump_emac_stats
,
__cmd_dump_emac_stats
,
dump
emac
statistics
.
);
MSH_CMD_EXPORT_ALIAS
(
cmd_dump_emac_stats
,
dump_emac_stats
,
dump
emac
statistics
);
#endif
#endif
bsp/dm365/platform/interrupt.c
浏览文件 @
e18d4494
...
...
@@ -286,8 +286,7 @@ int cmd_list_irq(int argc, char** argv)
list_irq
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_list_irq
,
__cmd_list_irq
,
list
system
irq
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_list_irq
,
list_irq
,
list
system
irq
);
#endif
#endif
#endif
...
...
bsp/dm365/platform/reset.c
浏览文件 @
e18d4494
...
...
@@ -39,7 +39,6 @@ void machine_shutdown()
#ifdef RT_USING_FINSH
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_hw_cpu_reset
,
reset
,
restart
the
system
);
#ifdef FINSH_USING_MSH
int
cmd_reset
(
int
argc
,
char
**
argv
)
...
...
@@ -47,15 +46,14 @@ int cmd_reset(int argc, char** argv)
rt_hw_cpu_reset
();
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
int
cmd_shutdown
(
int
argc
,
char
**
argv
)
{
rt_hw_cpu_shutdown
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
restart
the
system
.);
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_shutdown
,
__cmd_shutdown
,
shutdown
the
system
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_shutdown
,
shutdown
,
shutdown
the
system
);
#endif
#endif
...
...
bsp/fm33lc026/libraries/HAL_Drivers/drv_common.c
浏览文件 @
e18d4494
...
...
@@ -22,7 +22,7 @@ static void reboot(uint8_t argc, char **argv)
{
rt_hw_cpu_reset
();
}
FINSH_FUNCTION_EXPORT_ALIAS
(
reboot
,
__cmd_reboot
,
Reboot
S
ystem
);
MSH_CMD_EXPORT
(
reboot
,
reboot
s
ystem
);
#endif
/* RT_USING_FINSH */
/* SysTick configuration */
...
...
bsp/hk32/hk32f030c8-mini/board/board.c
浏览文件 @
e18d4494
...
...
@@ -21,7 +21,7 @@ static void reboot(uint8_t argc, char **argv)
{
rt_hw_cpu_reset
();
}
FINSH_FUNCTION_EXPORT_ALIAS
(
reboot
,
__cmd_reboot
,
Reboot
S
ystem
);
MSH_CMD_EXPORT
(
reboot
,
reboot
s
ystem
);
#endif
/* RT_USING_FINSH */
/** System Clock Configuration
...
...
bsp/mb9bf506r/drivers/nand.c
浏览文件 @
e18d4494
...
...
@@ -646,7 +646,7 @@ void nand_readoob(int block, int page)
}
FINSH_FUNCTION_EXPORT_ALIAS
(
nand_readoob
,
readoob
,
read
oob
[
block
/
page
]);
void
nand_erase_chip
()
void
nand_erase_chip
(
void
)
{
int
i
;
unsigned
char
id
;
...
...
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sys.c
浏览文件 @
e18d4494
...
...
@@ -271,7 +271,6 @@ E_SYS_USB0_ID nu_sys_usb0_role(void)
#ifdef RT_USING_FINSH
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_hw_cpu_reset
,
reset
,
restart
the
system
);
#ifdef FINSH_USING_MSH
int
cmd_reset
(
int
argc
,
char
**
argv
)
...
...
@@ -279,15 +278,14 @@ int cmd_reset(int argc, char **argv)
rt_hw_cpu_reset
();
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
int
cmd_shutdown
(
int
argc
,
char
**
argv
)
{
rt_hw_cpu_shutdown
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
restart
the
system
.);
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_shutdown
,
__cmd_shutdown
,
shutdown
the
system
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_shutdown
,
shutdown
,
shutdown
the
system
);
int
nu_clocks
(
int
argc
,
char
**
argv
)
{
...
...
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sys.c
浏览文件 @
e18d4494
...
...
@@ -310,15 +310,14 @@ int cmd_reset(int argc, char **argv)
rt_hw_cpu_reset
();
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
int
cmd_shutdown
(
int
argc
,
char
**
argv
)
{
rt_hw_cpu_shutdown
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
restart
the
system
.);
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_shutdown
,
__cmd_shutdown
,
shutdown
the
system
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_shutdown
,
shutdown
,
shutdown
the
system
);
int
nu_clocks
(
int
argc
,
char
**
argv
)
{
...
...
@@ -345,7 +344,7 @@ int nu_clocks(int argc, char **argv)
return
0
;
}
MSH_CMD_EXPORT
(
nu_clocks
,
G
et
all
system
clocks
);
MSH_CMD_EXPORT
(
nu_clocks
,
g
et
all
system
clocks
);
#endif
#ifdef RT_USING_INTERRUPT_INFO
...
...
bsp/nv32f100x/board/src/board.c
浏览文件 @
e18d4494
...
...
@@ -98,21 +98,14 @@ void rt_hw_board_init()
#ifdef RT_USING_HEAP
rt_system_heap_init
((
void
*
)
NV32_SRAM_BEGIN
,
(
void
*
)
NV32_SRAM_END
);
#endif
}
long
cmd_reset
(
int
argc
,
char
**
argv
)
int
cmd_reset
(
int
argc
,
char
**
argv
)
{
NVIC_SystemReset
();
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_reset
,
__cmd_reset
,
Reset
Board
.);
MSH_CMD_EXPORT_ALIAS
(
cmd_reset
,
reset
,
restart
the
system
);
/*@}*/
bsp/qemu-vexpress-a9/drivers/audio/drv_ac97.c
浏览文件 @
e18d4494
...
...
@@ -102,6 +102,6 @@ int _ac97_reg_dump(int argc, char **argv)
AC97_DUMP(AC97_ADC_SLOT_MAP);
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(_ac97_reg_dump, __cmd_ac97_dump, ac97 dump reg.
);
MSH_CMD_EXPORT_ALIAS(_ac97_reg_dump, ac97_dump, ac97 dump reg
);
#endif
bsp/qemu-vexpress-a9/drivers/audio/drv_pl041.c
浏览文件 @
e18d4494
...
...
@@ -391,5 +391,6 @@ int _aaci_pl041_reg_dump(int argc, char **argv)
PL041_DUMP(PL041->dr4[0]);
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(_aaci_pl041_reg_dump, __cmd_pl041_dump, aaci pl041 dump reg.);
MSH_CMD_EXPORT_ALIAS(_aaci_pl041_reg_dump, pl041_dump, aaci pl041 dump reg);
#endif
bsp/simulator/drivers/board.c
浏览文件 @
e18d4494
...
...
@@ -84,7 +84,7 @@ void rt_hw_exit(void)
#if defined(RT_USING_FINSH)
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_hw_exit
,
exit
,
exit
rt
-
thread
);
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_hw_exit
,
__cmd_
quit
,
exit
rt
-
thread
);
MSH_CMD_EXPORT_ALIAS
(
rt_hw_exit
,
quit
,
exit
rt
-
thread
);
#endif
/* RT_USING_FINSH */
/**
...
...
bsp/w60x/drivers/drv_standby.c
浏览文件 @
e18d4494
...
...
@@ -97,7 +97,7 @@ static void standby(uint8_t argc, char **argv)
sys_start_standby
(
atoi
(
argv
[
1
]));
}
}
FINSH_FUNCTION_EXPORT_ALIAS
(
standby
,
__cmd_standby
,
sleep
S
ystem
);
MSH_CMD_EXPORT
(
standby
,
sleep
s
ystem
);
#endif
/* RT_USING_FINSH */
#endif
/* BSP_USING_STANDBY */
components/drivers/can/can.c
浏览文件 @
e18d4494
...
...
@@ -966,6 +966,5 @@ int cmd_canstat(int argc, void **argv)
}
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_canstat
,
__cmd_canstat
,
Stat
Can
Device
Status
.
);
MSH_CMD_EXPORT_ALIAS
(
cmd_canstat
,
canstat
,
stat
can
device
status
);
#endif
components/drivers/rtc/alarm.c
浏览文件 @
e18d4494
...
...
@@ -777,7 +777,7 @@ void rt_alarm_dump(void)
rt_kprintf
(
"+----+---------------------+------+------+----+
\n
"
);
}
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_alarm_dump
,
__cmd
_alarm_dump
,
dump
alarm
info
);
MSH_CMD_EXPORT_ALIAS
(
rt_alarm_dump
,
rt
_alarm_dump
,
dump
alarm
info
);
/** \brief initialize alarm service system
*
...
...
components/drivers/wlan/wlan_cmd.c
浏览文件 @
e18d4494
...
...
@@ -587,7 +587,7 @@ static int wifi_msh(int argc, char *argv[])
}
#if defined(RT_USING_FINSH)
FINSH_FUNCTION_EXPORT_ALIAS
(
wifi_msh
,
__cmd_wifi
,
wifi
command
.
);
MSH_CMD_EXPORT_ALIAS
(
wifi_msh
,
wifi
,
wifi
command
);
#endif
#endif
components/net/lwip-1.4.1/src/apps/ping/ping.c
浏览文件 @
e18d4494
...
...
@@ -236,7 +236,7 @@ int cmd_ping(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_ping
,
__cmd_
ping
,
ping
network
host
);
MSH_CMD_EXPORT_ALIAS
(
cmd_ping
,
ping
,
ping
network
host
);
#endif
/* RT_USING_FINSH */
#endif
/* RT_USING_NETDEV */
...
...
components/net/lwip-2.0.2/src/apps/ping/ping.c
浏览文件 @
e18d4494
...
...
@@ -236,7 +236,7 @@ int cmd_ping(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_ping
,
__cmd_
ping
,
ping
network
host
);
MSH_CMD_EXPORT_ALIAS
(
cmd_ping
,
ping
,
ping
network
host
);
#endif
/* RT_USING_FINSH */
#endif
/* RT_USING_NETDEV */
...
...
components/net/lwip-2.0.3/src/apps/ping/ping.c
浏览文件 @
e18d4494
...
...
@@ -236,7 +236,7 @@ int cmd_ping(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_ping
,
__cmd_
ping
,
ping
network
host
);
MSH_CMD_EXPORT_ALIAS
(
cmd_ping
,
ping
,
ping
network
host
);
#endif
/* RT_USING_FINSH */
#endif
/* RT_USING_NETDEV */
...
...
components/net/lwip-2.1.2/src/apps/ping/ping.c
浏览文件 @
e18d4494
...
...
@@ -236,7 +236,7 @@ int cmd_ping(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_ping
,
__cmd_
ping
,
ping
network
host
);
MSH_CMD_EXPORT_ALIAS
(
cmd_ping
,
ping
,
ping
network
host
);
#endif
/* RT_USING_FINSH */
#endif
/* RT_USING_NETDEV */
...
...
components/net/netdev/src/netdev.c
浏览文件 @
e18d4494
...
...
@@ -1047,7 +1047,7 @@ int netdev_ifconfig(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
netdev_ifconfig
,
__cmd_
ifconfig
,
list
the
information
of
all
network
interfaces
);
MSH_CMD_EXPORT_ALIAS
(
netdev_ifconfig
,
ifconfig
,
list
the
information
of
all
network
interfaces
);
#endif
/* NETDEV_USING_IFCONFIG */
#ifdef NETDEV_USING_PING
...
...
@@ -1152,7 +1152,7 @@ int netdev_ping(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
netdev_ping
,
__cmd_
ping
,
ping
network
host
);
MSH_CMD_EXPORT_ALIAS
(
netdev_ping
,
ping
,
ping
network
host
);
#endif
/* NETDEV_USING_IFCONFIG */
static
void
netdev_list_dns
(
void
)
...
...
@@ -1222,8 +1222,7 @@ int netdev_dns(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
netdev_dns
,
__cmd_dns
,
list
and
set
the
information
of
dns
);
MSH_CMD_EXPORT_ALIAS
(
netdev_dns
,
dns
,
list
and
set
the
information
of
dns
);
#ifdef NETDEV_USING_NETSTAT
static
void
netdev_cmd_netstat
(
void
)
{
...
...
@@ -1270,7 +1269,7 @@ int netdev_netstat(int argc, char **argv)
return
0
;
}
FINSH_FUNCTION_EXPORT_ALIAS
(
netdev_netstat
,
__cmd_
netstat
,
list
the
information
of
TCP
/
IP
);
MSH_CMD_EXPORT_ALIAS
(
netdev_netstat
,
netstat
,
list
the
information
of
TCP
/
IP
);
#endif
/* NETDEV_USING_NETSTAT */
#endif
/* RT_USING_FINSH */
components/vbus/vbus.c
浏览文件 @
e18d4494
...
...
@@ -1308,7 +1308,7 @@ void rt_vbus_chm_wm_dump(void)
#ifdef RT_USING_FINSH
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_vbus_rb_dump
,
vbrb
,
dump
vbus
ringbuffer
status
);
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_vbus_rb_dump
,
vbrb
,
dump
vbus
ringbuffer
status
);
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_vbus_chn_dump
,
vbchn
,
dump
vbus
channel
status
);
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_vbus_sess_dump
,
vbses
,
dump
vbus
session
status
);
FINSH_FUNCTION_EXPORT_ALIAS
(
rt_vbus_que_dump
,
vbque
,
dump
vbus
out
queue
status
);
...
...
examples/file/readspeed.c
浏览文件 @
e18d4494
...
...
@@ -81,5 +81,5 @@ static void cmd_readspeed(int argc, char *argv[])
}
readspeed
(
filename
,
block_size
);
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_readspeed
,
__cmd_
readspeed
,
test
file
system
read
speed
);
MSH_CMD_EXPORT_ALIAS
(
cmd_readspeed
,
readspeed
,
test
file
system
read
speed
);
#endif
/* RT_USING_FINSH */
examples/file/readwrite.c
浏览文件 @
e18d4494
...
...
@@ -162,5 +162,5 @@ static void cmd_readwrite(int argc, char *argv[])
}
readwrite
(
filename
);
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_readwrite
,
__cmd_
readwrite
,
perform
file
read
and
write
test
);
MSH_CMD_EXPORT_ALIAS
(
cmd_readwrite
,
readwrite
,
perform
file
read
and
write
test
);
#endif
/* RT_USING_FINSH */
examples/file/writespeed.c
浏览文件 @
e18d4494
...
...
@@ -92,5 +92,5 @@ static void cmd_writespeed(int argc, char *argv[])
}
writespeed
(
filename
,
length
,
block_size
);
}
FINSH_FUNCTION_EXPORT_ALIAS
(
cmd_writespeed
,
__cmd_
writespeed
,
test
file
system
write
speed
);
MSH_CMD_EXPORT_ALIAS
(
cmd_writespeed
,
writespeed
,
test
file
system
write
speed
);
#endif
/* RT_USING_FINSH */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录