Page 2 of 2
Re: LwIP demo for Nucleo-144
Posted: Wed Dec 20, 2017 8:14 am
by Giovanni
Correct, only the ones with compiler name inside would change, the others are portable.
Giovanni
Re: LwIP demo for Nucleo-144
Posted: Mon Jan 22, 2018 7:34 pm
by kjwiik
omcdr wrote:I have run this example on Nucleo-144, DHCP and ping is working correctly.
What did you do to enable DHCP? After a day of experimentation I redefined LWIP_IPADDR to 0.0.0.0 in os/various/lwip_bindings/lwipthread.h and it started working. Is this correct, are there examples/demos how to enable DHCP properly?
Code: Select all
#if !defined(LWIP_IPADDR) || defined(__DOXYGEN__)
#define LWIP_IPADDR(p) IP4_ADDR(p, 0, 0, 0, 0)
#endif
Re: LwIP demo for Nucleo-144
Posted: Mon Jan 22, 2018 7:44 pm
by omcdr
Check lwipopts.h and LWIP_DHCP option.
Re: LwIP demo for Nucleo-144
Posted: Fri Feb 02, 2018 11:27 am
by Giovanni
Moving in support, not a bug.
Giovanni