cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX Generates MX_LWIP_Init even when disabled

AAlis.23
Senior

STM32CubeMX always generates the function MX_LWIP_Init even when its generation is disabled. This causes a redefinition during compilation if a custom implementation already exists. On every regeneration the autogenerated file re inserts the function and its prototype, triggering the conflict.

AAlis23_0-1758020584315.png

AAlis23_1-1758020674000.png

Board: Custom

CPU: STM32H743IITx

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @AAlis.23 ,

 

Let met thank you for posting.

For more investigation, I suggest please that you provide your Ioc.File.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

AAlis.23
Senior

Hi, attached.

Thanks