cancel
Showing results for 
Search instead for 
Did you mean: 

Disable TCP in lwIP with 0 connections

Stefan Raschhofer
Associate II
Posted on May 24, 2018 at 15:10

When I disable TCP of the lwIP in CubeMX and set the MEMP_NUM_TCP_PCB to 0, I can't compile without error 

MEMP_NUM_TCP_PCB has to be > 0.

Seems like a bug?

4 REPLIES 4
Imen.D
ST Employee
Posted on May 24, 2018 at 17:20

Hello

stefan.raschhofer

,

Please, we need some informationto check your issue:

Which device andCubeMx version are you using ?

Can you confirm please that this issue is reproduced with the latest version of CubeMx 4.1 ?

We will check this issue and come back to you asap.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Stefan Raschhofer
Associate II
Posted on May 25, 2018 at 07:01

Hi Imen,

yes, CubeMx 4.25.1.

It's for a STM32F777VI, Firmware Package STM32Cube FW_F7 V1.11.0.

Regards

Posted on May 29, 2018 at 14:21

 ,

 ,

Hi Stefan, ,

Yes I confirm, ' ♯ define ,LWIP_TCP 0' is no generated in lwipopts.h when the TC is disabled. ,

Please add it manually and it will be fixed for the 4.26.1

Stefan Raschhofer
Associate II
Posted on May 30, 2018 at 08:19

Ok. Thanks for the quick response.