cancel
Showing results for 
Search instead for 
Did you mean: 

No eth.c/eth.h generated by stm32cubeide for STM32H723.

JYI
Associate II

using STM32CubeIDE, the ETH and LWIP are enabled, but no init file eth.c generated.

The main.c includes MX_LWIP_Init(), but not MX_ETH_Init().

Is it right?

Thanks.

JYI

1 ACCEPTED SOLUTION

Accepted Solutions
MSG_ST
ST Employee

Hi,

Yes, when enabling ETH & LwIP; MX_ETH_Init is not generated and the IP initialization is done under low_level_init function in ethernetif.c file.

And when enabling ETH without enabling LwIP, MX_ETH_Init function and eth.c file are generated.

Thank you for your feedback.

Regards

Mahdy

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

Hello @Community member​ ,

Which CubeIDE, CubeMx version used ?

If possible to share you ioc file, this will help us to understand the issue.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
JYI
Associate II

STM32CubeIDE

Version: 1.10.1

Build: 12716_20220707_0928 (UTC)

OS: Windows 11, v.10.0, x86_64 / win32

Firmware: STM32Cube FW_H7 V1.10.0

Thanks.

JYI

MSG_ST
ST Employee

Hi,

Yes, when enabling ETH & LwIP; MX_ETH_Init is not generated and the IP initialization is done under low_level_init function in ethernetif.c file.

And when enabling ETH without enabling LwIP, MX_ETH_Init function and eth.c file are generated.

Thank you for your feedback.

Regards

Mahdy