Correct, only the ones with compiler name inside would change, the others are portable.
Giovanni
LwIP demo for Nucleo-144
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- 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
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
- 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:
Who is online
Users browsing this forum: No registered users and 17 guests