This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: failed to assign static ip address in lwipInit?

Part Number: TM4C1294NCPDT

1) Starting with TiVaware 2.14->Example->boards->ek-tm4c1294xl->enet_lwip, it uses DHCP option, and it works fine

2) Based on  //e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/396803

3) lwIPInit(g_ui32SysClock, pui8MACArray, 0, 0, 0, IPADDR_USE_DHCP) is replaced with

struct ip_addr ipaddr, netmask, gw;
IP4_ADDR(&gw, 192,168,0,1);
IP4_ADDR(&ipaddr, 192,168,0,222);
IP4_ADDR(&netmask, 255,255,255,0);

lwIPInit(g_ui32SysClock, pui8MACArray, ipaddr.addr, netmask.addr , gw.addr , IPADDR_USE_STATIC); //192.168.0.222

The project compiles fine, but will not acquire the IP, did I miss something?