2020-11-05 04:27 PM
Hi
I'm currently using STM32CubeMX for STM32H743ZITx.
However, I can't enable LWIP function. (Categories -> Middleware -> LWIP)
Previously on STM32F429, I could use LWIP, but I can't even enable the function on this series.
Can anybody help me with this?
Thank you in advance.
Solved! Go to Solution.
2020-11-05 11:12 PM
Hello @SHong.5 ,
For H7 series , in addition to ETH , you need to Enable the CPU DCache under system core - Cortex_M7 (for your case) so that LWIP becomes available be enabled.
Best Regards,
Khouloud
2020-11-05 11:12 PM
Hello @SHong.5 ,
For H7 series , in addition to ETH , you need to Enable the CPU DCache under system core - Cortex_M7 (for your case) so that LWIP becomes available be enabled.
Best Regards,
Khouloud
2020-11-05 11:24 PM
Hello Khouloud
Thank you very much. I have solved LWIP issue from above solution.
However, I can't go further with compiling the code.
FILE : ethernetif.c
CODE(line 652) : struct netif *netif = (struct netif *) argument
ERROR : 'netif' redeclared as different kind of symbol
Could you help me with this please?
Thank you in advance.
2020-11-05 11:29 PM
Yes @SHong.5 , it's a known issue , now fixed and the fix will be available for the next CubeMX release (6.1.0) which will be available on site W48.
You're always welcome.
Khouloud
2020-11-05 11:49 PM
Thank you very much.
Would you let me know when is the new release(6.1.0)?
Also, in case I want to fix before the release, which file should I change?
2020-11-06 03:11 PM
Either ethernetif.c or ethernetif_h7.ftl from which it is generated.
2020-11-08 04:11 PM
Thank you very much