cancel
Showing results for 
Search instead for 
Did you mean: 

Suppprt of LWIP package on NUCLEO-H563ZI from Discovery kit with STM32F769NI MCU

Muli
Associate

Hi,

When I worked on the Discovery kit with STM32F769NI MCU it supported in the STM32CubeIDE/MX the  LWIP package (from 2025) with FreeRTOS/V1. Now when I pass my project to NUCLEO-H563ZI I see in the TM32CubeIDE/MX that ST will not support the LWIP with FreeRTOS anymore. FreeRTOS is only v2 in this board.

Is someone integrete the LWIP package on NUCLEO-H563ZI with FreeRTOS/v2? The code main files that should be changed from STM32F769NI to NUCLEO-H563ZI  are LWIP/App/lwip.c, LWIP/Target/ethernetif.c/h, LWIP/Target/lwipopts.h, main.c.

Is there any project in git that have done this miggration for LWIP package (code from 2025) and using FreeRTOS/v2 in it's LWIP package? Or share with me those 4 LWIP files for NUCLEO-H563ZI board.

 

Thanks.

1 REPLY 1
MStackDev_376
Associate III

Hi,

It appears that the lwip package does not exist for H5 (please see this discussion here https://community.st.com/t5/stm32-mcus-embedded-software/enabling-lwip-in-nucleo-h563zi/td-p/624725). You would probably have to manually integrate it as a 3rd-party source, which is more complicated..

If you would be interested in an alternative to lwip, you could try an example based on the Mongoose networking library, which is a more lightweight option and it comes with its own TCP/IP stack. You can then port your project to run with Mongoose, in a similar way to lwip. The library is documented here.

Here is a sample project that you can try: just go https://mongoose.ws/wizard/#/output?board=h563&ide=CubeIDE&rtos=FreeRTOS and go to the Settings panel and select the directory where you want to download the project. Then click the blue "Generate C/C++ code" at the top of the page and it will download the project to that folder. You can then open it with Cube and build and run it on your board.

 

Hope this helps you!