summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
author马志远 <[email protected]>2021-08-23 17:30:05 +0800
committer马志远 <[email protected]>2021-08-23 17:30:05 +0800
commit221da7f464d811955acce96280332d95348fb24f (patch)
tree76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /components/net
parenta280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff)
Remove C Style Command Shell
Diffstat (limited to 'components/net')
-rw-r--r--components/net/at/Kconfig2
-rw-r--r--components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c2
-rw-r--r--components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c2
-rw-r--r--components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c2
4 files changed, 1 insertions, 7 deletions
diff --git a/components/net/at/Kconfig b/components/net/at/Kconfig
index 4aedbb888b..6cf7fdade6 100644
--- a/components/net/at/Kconfig
+++ b/components/net/at/Kconfig
@@ -68,7 +68,7 @@ if RT_USING_AT
config AT_USING_CLI
bool "Enable CLI(Command-Line Interface) for AT commands"
default y
- depends on FINSH_USING_MSH
+ depends on RT_USING_FINSH
config AT_PRINT_RAW_CMD
bool "Enable print RAW format AT command communication data"
diff --git a/components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c b/components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
index e14e34cfec..59e64c7a3b 100644
--- a/components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
+++ b/components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
@@ -66,8 +66,6 @@ static void tftp_server(uint8_t argc, char **argv)
}
FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.);
-#if defined(FINSH_USING_MSH)
MSH_CMD_EXPORT(tftp_server, start tftp server.);
-#endif /* defined(FINSH_USING_MSH) */
#endif /* defined(RT_USING_FINSH) */
diff --git a/components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c b/components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
index e14e34cfec..59e64c7a3b 100644
--- a/components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
+++ b/components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
@@ -66,8 +66,6 @@ static void tftp_server(uint8_t argc, char **argv)
}
FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.);
-#if defined(FINSH_USING_MSH)
MSH_CMD_EXPORT(tftp_server, start tftp server.);
-#endif /* defined(FINSH_USING_MSH) */
#endif /* defined(RT_USING_FINSH) */
diff --git a/components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c b/components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
index e14e34cfec..59e64c7a3b 100644
--- a/components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
+++ b/components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
@@ -66,8 +66,6 @@ static void tftp_server(uint8_t argc, char **argv)
}
FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.);
-#if defined(FINSH_USING_MSH)
MSH_CMD_EXPORT(tftp_server, start tftp server.);
-#endif /* defined(FINSH_USING_MSH) */
#endif /* defined(RT_USING_FINSH) */