mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Update lwIP port layer for the Microblaze Ethernet Lite IP.
This commit is contained in:
parent
5d3a35a1f3
commit
ff77d82ceb
4 changed files with 257 additions and 37 deletions
|
@ -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));
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue