Skip to main content
SHong.5
Associate III
November 6, 2020
Solved

STM32H743ZIT6U LWIP issue

  • November 6, 2020
  • 6 replies
  • 1161 views

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.
Best answer by Khouloud ZEMMELI

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
November 6, 2020

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
November 6, 2020

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
November 6, 2020

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
November 6, 2020

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?