cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743ZIT6U LWIP issue

SHong.5
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

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.

0693W000005AYOMQA4.pngBest Regards,

Khouloud

View solution in original post

6 REPLIES 6
Khouloud ZEMMELI
ST Employee

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.

0693W000005AYOMQA4.pngBest Regards,

Khouloud

SHong.5
Associate II

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.

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

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?

Either ethernetif.c or ethernetif_h7.ftl from which it is generated.

Thank you very much