On 07.03.2018 17:40, Mattia Settin wrote:
[..]
The question is:
It is now mandatory define/use sys_now() ?

You can do without, but a number of features new to 2.0.x (or improved there) require it. Right now, the list is:
- timeouts for NO_SYS==1
- LWIP_SO_SNDTIMEO
- LWIP_SO_LINGER
- lwiperf app
- LWIP_TCP_TIMESTAMPS
- PPPoS

This list can grow longer in the future. As such, we can't ifdef out the prototype for these configs and it's always there. You can try without and you'll get a linker error once you enable code which actually uses it.

Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to