2022-09-22 08:54 AM
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
Solved! Go to Solution.
2022-12-08 02:34 AM
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
2022-09-23 06:15 AM
Hello @Community member ,
Which CubeIDE, CubeMx version used ?
If possible to share you ioc file, this will help us to understand the issue.
Imen
2022-09-23 06:54 AM
2022-12-08 02:34 AM
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