LwIP demo for Nucleo-144

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: LwIP demo for Nucleo-144

Postby Giovanni » Wed Dec 20, 2017 8:14 am

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

Postby kjwiik » Mon Jan 22, 2018 7:34 pm

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

Postby omcdr » Mon Jan 22, 2018 7:44 pm

Check lwipopts.h and LWIP_DHCP option.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: LwIP demo for Nucleo-144

Postby Giovanni » Fri Feb 02, 2018 11:27 am

Moving in support, not a bug.

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 17 guests