ソースを参照

Merge pull request #1186 from flyingcys/kconfig

update lwip Kconfig
Bernard Xiong 8 年 前
コミット
17afd47844
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