Skip to main content
Associate
July 5, 2026
Question

STM32 Nucleo-H725ZG Ethernet LWIP without FreeRTOS

  • July 5, 2026
  • 3 replies
  • 60 views

I am attempting to use the Nucleo-H723ZG with Ethernet and LWIP but without FreeRTOS.
I am currently using STM32CubeMX 6.18.0 and STM32CubeIDE 2.2.0.
I have spent weeks attempting to get this working following the various youtube videos and topics on here.
I am currently attempting a simple UDP message that can be viewed on wireshark along the lines o “H723ZG with an incrementing counter”. I am unable to get any ARP or UDP currently.
Any help is greatly appreciated - thanks.

3 replies

mbarg.1
Senior III
July 6, 2026

Latest LWIP is built on top of FREERTOS.

You can re-write all FreeRtos functions or take LWIP functions and re-write with your proprietary OS calls.

In both cases therer is a large effort involved; do you have a budget for that ?

Reinventing hot water is a common hobby nowdays, but there are better ways to spend yout time.

Associate
July 6, 2026

Is it purely the later versions that LWIP is build on top of FREERTOS? If so, which version would suit LWIP without FREERTOS? Or is LWIP even needed? I’m not particularly interested in seeing ARPs just the UDP message.

mbarg.1
Senior III
July 6, 2026

Any library will leverage an OS - FreeRtos + or ThreadX or CMsis…

Ethernet is a real time job, OS does provide basic services to use it, HAL drivers alone are not enough.

Andrew Neil
Super User
July 6, 2026

 

 

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
LCE
Principal II
July 6, 2026

FreeRTOS is absolutely not required for lwIP.

I started with a Nucleo F767 and a CubeMX example without any OS, later I switched to Nucleo H723, then got my own hardware.

 

Anyway, lots of stuff going on there.

I recommend starting with an example from ST for that board with ethernet.

Just checking my CubeMx examples - there’s no Nucleo H725, you probably mean H723?

Try these:
STM32CubeH7/Projects/NUCLEO-H723ZG/Applications/LwIP at master · STMicroelectronics/STM32CubeH7


I haven’t trued these for some years now, so no guarantee from my side…

 

Edit: typical mistake: STM32 and PC not in the same netweork address space