瀏覽代碼

update lwip Kconfig

flyingcys 7 年之前
父節點
當前提交
00d687bb2c
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      components/net/Kconfig

+ 9 - 0
components/net/Kconfig

@@ -180,6 +180,15 @@ config RT_USING_LWIP
         config LWIP_SO_RCVBUF
             int "Enable SO_RCVBUF processing"
             default 1
+
+        config RT_LWIP_NETIF_LOOPBACK
+            bool "Enable netif loopback"
+            default n
+
+        config LWIP_NETIF_LOOPBACK
+        	int
+        	default 1 if RT_LWIP_NETIF_LOOPBACK
+        	default 0 if !RT_LWIP_NETIF_LOOPBACK
     endif
 
 endmenu