diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-02-19 11:07:45 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-20 00:07:45 +0800 |
| commit | 6895da53071358cdd4da8f15f32c977dfedfbe89 (patch) | |
| tree | c65401f29a630222c0928487415b1d0346b0488b /components/net/netdev | |
| parent | 5a61304a09bb2341565407d8fdc0a14f03c50aa3 (diff) | |
[net] adjust folder structure (#5587)
* [net] adjust folder structure
- 将lwip相关的文件夹,移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
Diffstat (limited to 'components/net/netdev')
| -rw-r--r-- | components/net/netdev/Kconfig | 41 |
1 files changed, 41 insertions, 0 deletions
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 |
