Skip to main content
Visitor II
August 21, 2020
Question

LWIP: MEMP_SYS_TIMEOUT could not be resolved

  • August 21, 2020
  • 0 replies
  • 845 views

Hi,

I'm trying to compile my project that uses Ethernet interface. I have a PCB with STM32F407VGT6.

When I compile, I get 3 errors that say: MEMP_SYS_TIMEOUT could not be resolved. The error is located at timeouts.c file, in lwip library.

These are:

timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT);

memp_free(MEMP_SYS_TIMEOUT, t);

memp_free(MEMP_SYS_TIMEOUT, tmptimeout);

If I comment those lines, the code works.

Why is this happening? What's this variable?

Thanks!

    This topic has been closed for replies.