lwip: library options are not propagated
Some of the LWIP options like memp_num_tcpip_msg, memp_num_api_msg are configurable from LWIP settings, but they are not actually set when compiling the LWIP library. This patch modifies the LWIP tcl to update them. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
a503a3dd66
commit
b84c029fc6
2 changed files with 8 additions and 0 deletions
|
@ -446,6 +446,11 @@ proc generate_lwip_opts {libhandle} {
|
|||
puts $lwipopts_fd "\#define MEMP_NUM_TCP_PCB $memp_n_tcp_pcb"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_TCP_PCB_LISTEN $memp_n_tcp_pcb_listen"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_TCP_SEG $memp_n_tcp_seg"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_SYS_TIMEOUT $memp_n_sys_timeout"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_NETBUF $memp_num_netbuf"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_NETCONN $memp_num_netconn"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_TCPIP_MSG_API $memp_num_api_msg"
|
||||
puts $lwipopts_fd "\#define MEMP_NUM_TCPIP_MSG_INPKT $memp_num_tcpip_msg"
|
||||
|
||||
# workaround for lwip mem_malloc bug
|
||||
# puts $lwipopts_fd "\#define MEM_LIBC_MALLOC 1"
|
||||
|
|
3
ThirdParty/sw_services/lwip140/src/ChangeLog
vendored
3
ThirdParty/sw_services/lwip140/src/ChangeLog
vendored
|
@ -1,5 +1,8 @@
|
|||
Change Log for lwip
|
||||
=================================
|
||||
2014-13-06
|
||||
* Fix for CR 801076 - Few configurable options of
|
||||
library are not propagated during compilation.
|
||||
2014-06-06
|
||||
* Fix for CR 800240 - Removed the limitation of
|
||||
supporting only Marvel PHY in AXI Ethernet adapter.
|
||||
|
|
Loading…
Add table
Reference in a new issue