Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
toki
configs
Commits
c0f9158d
Commit
c0f9158d
authored
Jun 13, 2020
by
Ulrich Huber
Committed by
Oliver Horst
Aug 31, 2020
Browse files
Make link detect thread parameters in lwIP configurable
parent
23be92a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
zcu102-zynqmp/freertos/baseline/master/lwip/include/lwip/lwipopts.h
View file @
c0f9158d
...
...
@@ -479,6 +479,12 @@
*/
#define LWIP_NETIF_STATUS_CALLBACK 1
/**
* LWIP_NETIF_EXT_STATUS_CALLBACK==1: Support a callback function whenever an interface
* changes various states including DHCP,...
*/
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
/*
------------------------------------
---------- Thread options ----------
...
...
zcu102-zynqmp/freertos/baseline/master/lwip/include/lwip/xlwipconfig.h
View file @
c0f9158d
...
...
@@ -20,10 +20,23 @@
#define CONFIG_LINKSPEED_AUTODETECT 1
/**
* The size of the stack of the thread
s
t
aking care of DHCP and the incoming packets
* The size of the stack of the thread t
ransferring incoming packets from the Xilinx driver to lwIP
*/
#define XLWIP_CONFIG_THREAD_STACKSIZE 1024
/**
* The priority of the thread transferring incoming packets from the Xilinx driver to lwIP
*/
#define XLWIP_CONFIG_THREAD_PRIO (8 - 1)
/**
* The size of the stack of the thread checking for an established link on the emacps interface
*/
#define XLWIP_LINK_DETECT_THREAD_STACKSIZE 1024
/**
* The interval in ms by which change of link connection is determined by the emacps driver
*/
#define XLWIP_LINK_DETECT_THREAD_INTERVAL 1000
/* one second */
#endif
/* __XLWIPCONFIG_H_ */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment