Correct, only the ones with compiler name inside would change, the others are portable.
Giovanni
LwIP demo for Nucleo-144
Moderators: RoccoMarco, lbednarz, tfAteba
- 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
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: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times