Nucleo-STM32F429ZI - LwIP
It is not building.
However, if I go into the file (sockets.h) and change the #define from 1 to 0 for:
- ifndef LWIP_TIMEVAL_PRIVATE
- define LWIP_TIMEVAL_PRIVATE 0
- endif
- if LWIP_TIMEVAL_PRIVATE
struct timeval {
long tv_sec; /* seconds */
long tv_usec; /* and microseconds */
};
- endif /* LWIP_TIMEVAL_PRIVATE */
forcing the compiler to skip the definition, and thus the error, the code does compile.
Do not know what impact this will have.
I am sure I am not supposed to have to change the files generated by MXCube but I do not know what controls the defs within the sockets.h file.
-Greg