cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 LWIP Code generation bug

heveskar
Senior

Hi,

there is probably small bug when generating project STM32CubeIDE using LwIP stack. In file LWIP/App/lwip.c, there is duplicate user code section 4_3. This is present twice (on lines 113 and 151):

/* USER CODE BEGIN 4_3 */
/* USER CODE END 4_3 */

First is in function static void Ethernet_Link_Periodic_Handle(struct netif *netif), second is in function void MX_LWIP_Process(void). This means that all the code, that is written to the upper section, is after code generation duplicated to the lower one. Its not a big issue but it is annoying to correct it after every code generation.

I use STM32CubeIDE:

0693W00000D2XyUQAV.pngCubeMX version:

0693W00000D2XyoQAF.png 

Firmware Package Name and Version : STM32Cube FW_H7 V1.9.0

Karel

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

Hello @heveskar​ ,

Thanks for your post,

I've checked the problem and you're right, it must be incremental.

Issue will be fixed.

Thanks for your contribution,

Khouloud

View solution in original post

1 REPLY 1
Khouloud ZEMMELI
ST Employee

Hello @heveskar​ ,

Thanks for your post,

I've checked the problem and you're right, it must be incremental.

Issue will be fixed.

Thanks for your contribution,

Khouloud