Commit 23be92a1 authored by Ulrich Huber's avatar Ulrich Huber Committed by Oliver Horst
Browse files

[fix] increase stack size for lwIP threads

[chg] deactivate all lwIP modules that may break startup
parent aad26cae
......@@ -289,6 +289,10 @@
---------- IP options ----------
--------------------------------
*/
#define LWIP_IPV4 1
#define LWIP_IPV6 0
/**
* IP_OPTIONS_ALLOWED: Defines the behavior for IP options.
* IP_OPTIONS_ALLOWED==0: All packets with IP options are dropped.
......@@ -349,7 +353,7 @@
/**
* LWIP_DHCP==1: Enable DHCP module.
*/
#define LWIP_DHCP 1
#define LWIP_DHCP 0
/**
* DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
......@@ -485,7 +489,7 @@
* The stack size value itself is platform-dependent, but is passed to
* sys_thread_new() when the thread is created.
*/
#define TCPIP_THREAD_STACKSIZE 1024
#define TCPIP_THREAD_STACKSIZE 2048
/**
* TCPIP_THREAD_PRIO: The priority assigned to the main tcpip thread.
......@@ -578,7 +582,7 @@
/**
* LWIP_SO_TIMESTAMPING==1: Enable timestamping feature
*/
#define LWIP_SO_TIMESTAMPING 1
#define LWIP_SO_TIMESTAMPING 0
/*
--------------------------------------
......@@ -589,7 +593,7 @@
/**
* LWIP_CMSG_FRAMEWORK==1: Enable CMSG framework for delivering control messages
*/
#define LWIP_CMSG_FRAMEWORK 1
#define LWIP_CMSG_FRAMEWORK 0
/**
* Size of the buffer used to store control messages
......@@ -636,4 +640,11 @@
*/
#define CHECKSUM_CHECK_TCP 0
/*
--------------------------------------
---------- Logging options -----------
--------------------------------------
*/
#define LWIP_DEBUG 0x80U
#endif /* __LWIPOPTS_H_ */
......@@ -14,8 +14,8 @@
#define XLWIP_CONFIG_N_TX_COALESCE 1
#define XLWIP_CONFIG_N_RX_COALESCE 1
#define XLWIP_CONFIG_GEM_ENABLE_ERRQ 1
#define XLWIP_CONFIG_GEM_ENABLE_IEEE1588 1
#define XLWIP_CONFIG_GEM_ENABLE_ERRQ 0
#define XLWIP_CONFIG_GEM_ENABLE_IEEE1588 0
#define CONFIG_LINKSPEED_AUTODETECT 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment