Update lwIP port layer for the Microblaze Ethernet Lite IP.

This commit is contained in:
Richard Barry 2011-07-27 12:04:15 +00:00
parent 5d3a35a1f3
commit ff77d82ceb
4 changed files with 257 additions and 37 deletions

View file

@ -127,7 +127,6 @@ extern err_t ethernetif_init( struct netif *netif );
LWIP_PORT_INIT_GW(&gw);
LWIP_PORT_INIT_IPADDR(&ipaddr);
LWIP_PORT_INIT_NETMASK(&netmask);
printf("Starting lwIP, local interface IP is %s\n", ip_ntoa(&ipaddr));
netif_set_default(netif_add(&netif, &ipaddr, &netmask, &gw, NULL, ethernetif_init, tcpip_input));

View file

@ -43,6 +43,8 @@
#endif
#endif /* BYTE_ORDER */
#define XLWIP_CONFIG_INCLUDE_EMACLITE 1
/* SSI options. */
#define TCPIP_THREAD_NAME "tcpip"
#define LWIP_HTTPD_MAX_TAG_NAME_LEN 20