Using the TM4C129X Eval kit, the enet_lwip example works great using DHCP. Changing the call to lwIPInit from
lwIPInit(g_ui32SysClock, pui8MACArray, 0, 0, 0, IPADDR_USE_DHCP); to
lwIPInit(g_ui32SysClock, pui8MACArray, 0xC0A8A831, 0xFFFFFF00, 0xC0A8A801, IPADDR_USE_STATIC);
does not work. It eventually times out and assigns 169.254.1.0 for the IP Address.
If the DHCP server is left running even when IPADDR_USE_STATIC is specified, the the DHCP server assigns an address and the Eval kit accepts it.
BTW, this works just fine using a Stellaris part with the latest version of StellarisWare.
Please help!
Thanks,
Jeff
Also, there is an error at line 439 in lwiplib.c:
#if LWIP_AUTIP || LWIP_DHCP should be #if LWIP_AUTOIP || LWIP_DHCP
