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: enet_lwip example - can I use STATIC IP addr mode without changing the option?

Part Number: TM4C1294NCPDT

Dear all

The example works fine with current setting, however, when I try to config it to static IP mode instead of DHCP, it doesn't work unless I clear the LWIP_DHCP option to 0.

lwIPInit(g_ui32SysClock, pui8MACArray, MyIPAddr, MyMask, MyGateway, IPADDR_USE_STATIC);

Anyone tried and is that supposed to be?

I think it should work in both mode without changing the option.

Thanks for your response!

Ping