ping example app throws lwip assert (#394)

Now LWIP_PLATFORM_ASSERT has been fixed we're seeing an assert for the
ping example app.
It sets the SO_RCVTIMEO socket option which is not enabled.

Fixes #308
This commit is contained in:
Peter Harper
2023-06-08 16:02:25 +01:00
committed by GitHub
parent 8661b5cf96
commit 5ba4cfc677

View File

@@ -16,6 +16,10 @@
// not necessary, can be done either way
#define LWIP_TCPIP_CORE_LOCKING_INPUT 1
// ping_thread sets socket receive timeout, so enable this feature
#define LWIP_SO_RCVTIMEO 1
#endif
#endif