STM32H7 LWIP Code generation bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-16 6:14 AM
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:
CubeMX version:
Firmware Package Name and Version : STM32Cube FW_H7 V1.9.0
Karel
Solved! Go to Solution.
- Labels:
-
Ethernet
-
STM32CubeMX
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-17 3:37 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-17 3:37 AM
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
