Loading...
 
Skip to main content

System Workbench for STM32


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:

  1. ifndef LWIP_TIMEVAL_PRIVATE
  2. define LWIP_TIMEVAL_PRIVATE 0
  3. endif

  4. if LWIP_TIMEVAL_PRIVATE

struct timeval {
long tv_sec; /* seconds */
long tv_usec; /* and microseconds */
};

  1. 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