summaryrefslogtreecommitdiff
path: root/components/net/lwip/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/lwip/Kconfig')
-rw-r--r--components/net/lwip/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/net/lwip/Kconfig b/components/net/lwip/Kconfig
index 9a1096e8ec..d98388b4ae 100644
--- a/components/net/lwip/Kconfig
+++ b/components/net/lwip/Kconfig
@@ -243,6 +243,13 @@ if RT_USING_LWIP
bool "Enable netif loopback"
default n
+ config RT_LWIP_USING_LOOPBACK
+ bool "Enable lwIP loopback network interface"
+ depends on RT_USING_NETDEV
+ select RT_LWIP_NETIF_LOOPBACK
+ default y if RT_USING_SMART
+ default n
+
config LWIP_NETIF_LOOPBACK
int
default 1 if RT_LWIP_NETIF_LOOPBACK