LwIP demo for Nucleo-144

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: LwIP demo for Nucleo-144

Post by Giovanni »

Correct, only the ones with compiler name inside would change, the others are portable.

Giovanni
kjwiik
Posts: 4
Joined: Fri Oct 07, 2016 2:45 pm
Has thanked: 1 time

Re: LwIP demo for Nucleo-144

Post 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
omcdr
Posts: 89
Joined: Wed Aug 17, 2016 3:25 pm
Has thanked: 7 times
Been thanked: 7 times

Re: LwIP demo for Nucleo-144

Post by omcdr »

Check lwipopts.h and LWIP_DHCP option.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: LwIP demo for Nucleo-144

Post by Giovanni »

Moving in support, not a bug.

Giovanni
Post Reply