2020-01-22 05:53 AM
Stm427 uses CUBE MX to generate LWIP code, if define MEM_USE_POOLS 1 compile error, how to solve?
2020-01-24 08:25 AM
Hello @WKUNY.1
Thanks for the feedback, it will be fixed next CubeMX version.
Best regards,
Nesrine
2020-01-27 02:22 AM
Hello @WKUNY.1
If you read the Description of MEM_USE_POOLS parameter, an important Warning needs to be considered: "Warning: if you enable both MEMP_USE_CUSTOM_POOLS and MEM_USE_POOLS, you must have lwippools.h in your include path somewhere and you must define your pools within lwippools.h".
Therefore, by commenting the code in USER SECTION 0 within lwippools.h (this define default pools), you will get rid off this error.
Best regards,
Nesrine
2020-01-27 02:48 AM
Thank you very much! I'll try it.