summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortangyuxin <[email protected]>2018-07-24 09:44:15 +0800
committertangyuxin <[email protected]>2018-07-24 09:44:18 +0800
commitefcc08f3afb33abc01a26594554cca131f07c20f (patch)
tree532af040ca9c45466db937aa48bc6201888559bb
parentd68f2cdecdf1b6adc5bafd8be559194a83d21bd9 (diff)
[lwip]Add Statistics Option
-rw-r--r--components/net/Kconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig
index b4c9691ca4..fca7d107f1 100644
--- a/components/net/Kconfig
+++ b/components/net/Kconfig
@@ -22,7 +22,7 @@ config RT_USING_SAL
default y if RT_USING_AT_SOCKET
default n
depends on RT_USING_AT_SOCKET
- endmenu
+ endmenu
config SAL_USING_POSIX
bool "Enable BSD socket operated by file system API"
@@ -234,9 +234,13 @@ config RT_USING_LWIP
default n
config LWIP_NETIF_LOOPBACK
- int
- default 1 if RT_LWIP_NETIF_LOOPBACK
- default 0 if !RT_LWIP_NETIF_LOOPBACK
+ int
+ default 1 if RT_LWIP_NETIF_LOOPBACK
+ default 0 if !RT_LWIP_NETIF_LOOPBACK
+
+ config RT_LWIP_STATS
+ bool "Enable lwIP statistics"
+ default n
menuconfig RT_LWIP_DEBUG
bool "Enable lwIP Debugging Options"