liblwip: Exclude lwipopts.h

Including the library's version of lwipopts.h config prevents users from
using a custom version of the lwipopts.h config file for each
application and instead restricts the user to having to modify the
library's version of lwipopts.h which isn't a suitable workflow.

This commit excludes the library's version of lwipopts.h from the build.
Users are now required to use the CMake macro inside the
lwip_helpers.cmake file to include a custom version of lwipopts.h. Also
update style filter to point to the new default lwipopts.h location.
diff --git a/.stylefilter b/.stylefilter
index 4676ca3..1a22309 100644
--- a/.stylefilter
+++ b/.stylefilter
@@ -1,2 +1,2 @@
 libfdt
-liblwip/include/lwip/lwipopts.h
+liblwip/default_opts/lwipopts.h
diff --git a/liblwip/CMakeLists.txt b/liblwip/CMakeLists.txt
index 5f186a2..21fdf36 100644
--- a/liblwip/CMakeLists.txt
+++ b/liblwip/CMakeLists.txt
@@ -51,7 +51,7 @@
             include include/lwip
     )
 
-    target_link_libraries(lwip muslc)
+    target_link_libraries(lwip muslc liblwip_config)
 
     target_compile_options(lwip PRIVATE ${compile_options})
 endif()
diff --git a/liblwip/include/lwip/lwipopts.h b/liblwip/default_opts/lwipopts.h
similarity index 82%
rename from liblwip/include/lwip/lwipopts.h
rename to liblwip/default_opts/lwipopts.h
index 7c6b6c6..bd6cb9e 100644
--- a/liblwip/include/lwip/lwipopts.h
+++ b/liblwip/default_opts/lwipopts.h
@@ -29,36 +29,32 @@
  * Author: Simon Goldschmidt
  *
  */
+
+/* This file is an example lwipopts.h header configuration file that's based on
+ * the test lwipopts.h files in the lwIP sources. */
+
 #ifndef __LWIPOPTS_H__
 #define __LWIPOPTS_H__
 
-/* Prevent having to link sys_arch.c (we don't test the API layers in unit tests) */
 #define NO_SYS                          1
-#define NO_SYS_NO_TIMERS                0
-#define LWIP_TIMERS                     1
+#define NO_SYS_NO_TIMERS                1
+#define LWIP_TIMERS                     0
 #define LWIP_NETCONN                    0
 #define LWIP_SOCKET                     0
-#define LWIP_IGMP                       1
 #define LWIP_RAND                       rand
-#define LWIP_DHCP                       1
 
 #define MEM_ALIGNMENT 4
-#define MEM_SIZE                        0x32000
+#define MEM_SIZE                        0x4000
 
 #define ETHARP_SUPPORT_STATIC_ENTRIES   1
 #define SYS_LIGHTWEIGHT_PROT            0
 #define LWIP_NETIF_STATUS_CALLBACK      1
 
-#define TCP_SND_QUEUELEN 2500
+#define TCP_SND_QUEUELEN 256
 #define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
 #define TCP_SND_BUF (100 * TCP_MSS)
 #define TCP_WND (100 * TCP_MSS)
 #define LWIP_WND_SCALE 1
 #define TCP_RCV_SCALE 10
-#define PBUF_POOL_SIZE 1000
-#define MEMP_NUM_SYS_TIMEOUT 512
-
-/* Set this to 0 for performance */
-#define LWIP_STATS 0
 
 #endif /* __LWIPOPTS_H__ */