From efcc08f3afb33abc01a26594554cca131f07c20f Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Tue, 24 Jul 2018 09:44:15 +0800 Subject: [PATCH] [lwip]Add Statistics Option --- components/net/Kconfig | 12 ++++++++---- 1 file 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" -- GitLab