Skip to main content
SHong.5
Associate III
Nov 6, 2020 12:27 AM UTC
Solved

STM32H743ZIT6U LWIP issue

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.

This topic has been closed for replies.
Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Nov 6, 2020 7:12 AM UTC

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

6 replies

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Nov 6, 2020 7:12 AM UTC

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
SHong.5Author
Associate III
Nov 6, 2020 7:24 AM UTC

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.

Khouloud ZEMMELI
ST Employee
Nov 6, 2020 7:29 AM UTC

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

SHong.5
SHong.5Author
Associate III
Nov 6, 2020 7:49 AM UTC

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?