From 6895da53071358cdd4da8f15f32c977dfedfbe89 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Sat, 19 Feb 2022 11:07:45 -0500 Subject: [net] adjust folder structure (#5587) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [net] adjust folder structure - 将lwip相关的文件夹,移入lwip文件夹 - Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu --- components/net/netdev/Kconfig | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 components/net/netdev/Kconfig (limited to 'components/net/netdev') diff --git a/components/net/netdev/Kconfig b/components/net/netdev/Kconfig new file mode 100644 index 0000000000..5f1697d7ba --- /dev/null +++ b/components/net/netdev/Kconfig @@ -0,0 +1,41 @@ +menuconfig RT_USING_NETDEV + bool "Enable network interface device" + default n + +if RT_USING_NETDEV + + config NETDEV_USING_IFCONFIG + bool "Enable ifconfig features" + default y + + config NETDEV_USING_PING + bool "Enable ping features" + default y + + config NETDEV_USING_NETSTAT + bool "Enable netstat features" + default y + + config NETDEV_USING_AUTO_DEFAULT + bool "Enable default netdev automatic change features" + default y + + config NETDEV_USING_IPV6 + bool "Enable IPV6 protocol support" + default n + + config NETDEV_IPV4 + int + default 1 + + config NETDEV_IPV6 + int + default 1 if NETDEV_USING_IPV6 + default 0 if !NETDEV_USING_IPV6 + + config NETDEV_IPV6_SCOPES + bool + help + Defined to synchronize the ip6_addr structure state + default n +endif -- cgit v1.3.1