Skip to main content
Associate II
Oct 9, 2026 1:06 PM UTC
Question

LwIP with STM32C5 without RTOS

Hello everyone,

I'm trying to develop an application with LwIP without an operating system using the STM32C5A3x.

When I set the LwIP operating system to “No OS,” I see some files in the CMake project that call FreeRTOSConfig.h, and the compilation fails.

 

 

Is anyone else experiencing the same problem?

 

I’d also like to ask if there’s any information about the release of a new version of STM32CubeMX2.

Thanks for help.

15 replies

Andrew Neil
Super User
Oct 9, 2026 1:11 PM UTC

 I see some files in the CMake project that call FreeRTOSConfig.h

You can’t “call” a header file.

 

and the compilation fails

How, exactly, does it fail ?

Is the project actually trying to use things from the header, or what ?

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.
Associate II
Oct 9, 2026 1:24 PM UTC

Hi Andrew,

 

I'm sorry, I didn't explain myself clearly regarding header.h.

 

When I try to compile the project using STM32CubeIDE, without making any changes, I get this error:

 

STM32C5_workspace/LWIP_EX/LWIP_Ex_cmake/misc/STMicroelectronics.freertos.2.2.0/include/FreeRTOS.h:58:10: fatal error: FreeRTOSConfig.h: No such file or directory

 

58 | #include “FreeRTOSConfig.h”

 

In the project tree, there is a folder named misc/STMicroelectronics.freertos.2.2.0.

I may be wrong, but I believe this folder should not have been created by CubeMX2, since LwIP is configured without FreeRTOS.

ST Technical Moderator
Oct 29, 2026 8:45 AM UTC

Hello ​@MatheusNifocci77 

Could you please share your .ioc2 file 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Associate II
Nov 3, 2026 2:35 PM UTC

Hello Saket_Om, 

of course. Here it is.

 

Thanks for your help.

ST Technical Moderator
Nov 4, 2026 1:56 PM UTC

Hello ​@MatheusNifocci77 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: CDM0067215 (This is an internal tracking number and is not accessible or usable by customers).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
ST Technical Moderator
Nov 6, 2026 8:52 AM UTC

Hello ​@MatheusNifocci77 

“No-os” Ethernet interface is not supported in lwip v2.1.0. 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Andrew Neil
Super User
Nov 6, 2026 9:53 AM UTC

“No-os” Ethernet interface is not supported in lwip v2.1.0. 

Is that a fundamental limitation of LwIP v2.1.0, or just that ST doesn’t provide support?

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.
ST Technical Moderator
Nov 6, 2026 10:07 AM UTC

Hello ​@Andrew Neil 

It is a limitation in LWIP v2.1.0.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Guillaume K
ST Employee
Nov 6, 2026 10:46 AM UTC

Hi

“No_OS” is not supported in ST LwIP pack 2.1.0 on STM32C5A3 with ethernet interface.

“2.1.0” is the version of ST pack, not the version number of LwIP open source software.

“No_OS” will be supported in future version of ST LwIP pack coming in few weeks.

Regards,

Guillaume

Andrew Neil
Super User
Nov 6, 2026 11:17 AM UTC

​@Guillaume K Thanks for that clarification.

This has happened before - please would ST be more careful to be clear & precise on what is specific to ST, and what is generic.

​@Saket_Om 

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.
Associate II
Nov 6, 2026 5:24 PM UTC

Thanks Guys!

Thank you all for your help.

I'll try to implement it using the open-source Stak until ST releases the next version of LwIP.

Best regards, 

Matheus

Andrew Neil
Super User
Nov 6, 2026 5:36 PM UTC

until ST releases the next version of LwIP.

To be precise, “until ST releases the next version of their LwIP pack”.

ST don’t control the release of the LwIP open-source software itself.

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.